summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/jchroot/Manifest1
-rw-r--r--sys-apps/jchroot/jchroot-1.0.ebuild28
-rw-r--r--sys-apps/jchroot/jchroot-9999.ebuild4
3 files changed, 31 insertions, 2 deletions
diff --git a/sys-apps/jchroot/Manifest b/sys-apps/jchroot/Manifest
new file mode 100644
index 0000000..8877f84
--- /dev/null
+++ b/sys-apps/jchroot/Manifest
@@ -0,0 +1 @@
+DIST jchroot-1.0.tar.gz 7419 SHA256 17f485949a3f35e198b634daf3f7f8eb680c7fa6c779ed754e3fceb6f4fd540a SHA512 667237b9cbc1adebb54ab905b1399b40aa9ed9a2a3c6d4811818d405f6d4eaf5e5b057530b325cbcb45ffffd39601adca23d9b02a3d1ad711bbff41bbab51e7b WHIRLPOOL 943dccc3479eb33d74fb944de2a19319f577f848a398e96a804387162735ac0c0df11ed14ee3857527a20f93a84ae7d3457445fd35ae557097c8463739ca54bb
diff --git a/sys-apps/jchroot/jchroot-1.0.ebuild b/sys-apps/jchroot/jchroot-1.0.ebuild
new file mode 100644
index 0000000..c5c79b3
--- /dev/null
+++ b/sys-apps/jchroot/jchroot-1.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit toolchain-funcs
+
+DESCRIPTION="chroot with more isolation"
+HOMEPAGE="https://github.com/vincentbernat/jchroot"
+SRC_URI="https://github.com/vincentbernat/jchroot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dodoc README.md
+ doman ${PN}.8
+ dobin ${PN}
+}
diff --git a/sys-apps/jchroot/jchroot-9999.ebuild b/sys-apps/jchroot/jchroot-9999.ebuild
index 8ff0a44..4fccb5f 100644
--- a/sys-apps/jchroot/jchroot-9999.ebuild
+++ b/sys-apps/jchroot/jchroot-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI="6"
inherit git-r3 toolchain-funcs