1 |
commit: 696b0f38fdf1d65f8cf9c43dde14243eafb3f797 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 29 22:34:11 2015 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 29 22:34:11 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=696b0f38 |
7 |
|
8 |
app-shells/localshell: EAPI 5 bump. |
9 |
|
10 |
Package-Manager: portage-2.2.18 |
11 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
12 |
|
13 |
app-shells/localshell/localshell-1.3.4-r1.ebuild | 31 ++++++++++++++++++++++++ |
14 |
1 file changed, 31 insertions(+) |
15 |
|
16 |
diff --git a/app-shells/localshell/localshell-1.3.4-r1.ebuild b/app-shells/localshell/localshell-1.3.4-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 0000000..d2b134f |
19 |
--- /dev/null |
20 |
+++ b/app-shells/localshell/localshell-1.3.4-r1.ebuild |
21 |
@@ -0,0 +1,31 @@ |
22 |
+# Copyright 1999-2014 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+# $Id$ |
25 |
+ |
26 |
+EAPI=5 |
27 |
+ |
28 |
+inherit base eutils |
29 |
+ |
30 |
+DESCRIPTION="Localshell allows per-user/group local control of shell execution" |
31 |
+HOMEPAGE="http://git.orbis-terrarum.net/?p=infrastructure/localshellc.git;a=summary" |
32 |
+SRC_URI="${HOMEPAGE}/${P}.tar.bz2" |
33 |
+ |
34 |
+LICENSE="GPL-2" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~amd64 ~ppc ~x86" |
37 |
+IUSE="" |
38 |
+ |
39 |
+src_configure() { |
40 |
+ # this is a shell, it needs to be in /bin |
41 |
+ econf --bindir=/bin --sysconfdir=/etc |
42 |
+} |
43 |
+ |
44 |
+src_install() { |
45 |
+ emake install DESTDIR="${D}" || die "emake install failed" |
46 |
+ rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL} |
47 |
+} |
48 |
+ |
49 |
+pkg_postinst() { |
50 |
+ elog "Remember to add /bin/localshell to /etc/shells and create" |
51 |
+ elog "/etc/localshell.conf based on the included configuration examples" |
52 |
+} |