/[gentoo-x86]/sys-apps/proot/proot-3.2.1.ebuild
Gentoo

Contents of /sys-apps/proot/proot-3.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Mar 11 08:13:00 2014 UTC (5 years, 10 months ago) by pinkbyte
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Revision bump: add support for optional building of CARE binary, wrt bug #502388, thanks to Patrick Lauer. Drop old

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/proot/proot-3.2.1.ebuild,v 1.1 2013/12/06 07:09:12 pinkbyte Exp $
4
5 EAPI=5
6 MY_PN="PRoot"
7
8 inherit eutils toolchain-funcs
9
10 DESCRIPTION="User-space implementation of chroot, mount --bind, and binfmt_misc"
11 HOMEPAGE="http://proot.me"
12 SRC_URI="https://github.com/cedric-vincent/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE="test"
18
19 RDEPEND="sys-libs/talloc"
20 DEPEND="${RDEPEND}
21 test? ( dev-util/valgrind )"
22
23 # Breaks sandbox
24 RESTRICT="test"
25
26 S="${WORKDIR}/${MY_PN}-${PV}"
27
28 src_prepare() {
29 epatch "${FILESDIR}/${P}-makefile.patch" \
30 "${FILESDIR}/${PN}-2.3.1-lib-paths-fix.patch"
31 epatch_user
32 }
33
34 src_compile() {
35 emake -C src V=1 \
36 CC="$(tc-getCC)" \
37 CHECK_VERSION="true"
38 }
39
40 src_install() {
41 dobin src/proot
42 doman doc/proot.1
43 dodoc doc/*.txt doc/articles/*
44 }
45
46 src_test() {
47 emake -C tests -j1 CC="$(tc-getCC)"
48 }

  ViewVC Help
Powered by ViewVC 1.1.20