diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/chroot_safe/chroot_safe-1.4.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/chroot_safe/chroot_safe-1.4.ebuild')
-rw-r--r-- | app-admin/chroot_safe/chroot_safe-1.4.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/app-admin/chroot_safe/chroot_safe-1.4.ebuild b/app-admin/chroot_safe/chroot_safe-1.4.ebuild new file mode 100644 index 000000000000..210b10565d66 --- /dev/null +++ b/app-admin/chroot_safe/chroot_safe-1.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +inherit eutils multilib + +DESCRIPTION="a tool to chroot any dynamically linked application in a safe and sane manner" +HOMEPAGE="http://chrootsafe.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN//_}/${P}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}"/${P}-ldflags.patch +} + +src_configure() { + econf --libexecdir="${EPREFIX}/usr/$(get_libdir)" +} + +src_compile() { + emake CPPFLAGS="${CXXFLAGS}" CXX="$(tc-getCXX)" +} + +src_install() { + dolib.so chroot_safe.so + dosbin chroot_safe + sed -i -e "s:/chroot_safe::" "${ED}"/usr/sbin/chroot_safe \ + || die "sed chroot_safe failed" + doman chroot_safe.1 + dodoc CHANGES.txt +} |