summaryrefslogtreecommitdiff
blob: 498e1c10733a46b51bd979d5f6b336d3deef9493 (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-r4.ebuild,v 1.1 2007/08/05 10:05:36 betelgeuse 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
}