summaryrefslogtreecommitdiff
blob: a074f6fac3e4bec513240e7b70786f0455a6135a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/sandboxshell/sandboxshell-0.3-r3.ebuild,v 1.3 2007/05/05 05:14:29 vapier Exp $

inherit eutils

DESCRIPTION="launch a sandboxed shell ... useful for debugging ebuilds"
HOMEPAGE="http://wh0rd.org/"
SRC_URI=""

LICENSE="public-domain"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""

DEPEND=""

# Portage 2.1.1 changes the /var/tmp/portage structure from <pkg> to <cat>/<pkg>
RDEPEND=">sys-apps/portage-2.1.1
	app-shells/bash"

S=${WORKDIR}

src_install() {
	dobin "${FILESDIR}"/sandboxshell || die
	doman "${FILESDIR}"/sandboxshell.1
	insinto /etc
	newins "${FILESDIR}"/sandboxshell-r1.conf sandboxshell.conf
	make_desktop_entry /usr/bin/sandboxshell
}