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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Dec 23 16:13:57 2013 UTC (6 years ago) by pinkbyte
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Drop old

(Portage version: 2.2.7/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-2.3.1.ebuild,v 1.1 2013/01/24 08:54:46 pinkbyte Exp $
4
5 EAPI=5
6 MY_PN="PRoot"
7
8 inherit base 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 PATCHES=(
29 "${FILESDIR}/${P}-makefile.patch"
30 "${FILESDIR}/${P}-gnu-define-fix.patch"
31 "${FILESDIR}/${P}-lib-paths-fix.patch"
32 )
33
34 src_compile() {
35 # FLAGS come from Makefile.
36 emake -C src V=1 \
37 CC="$(tc-getCC)" \
38 CHECK_VERSION="true"
39 }
40
41 src_install() {
42 dobin src/proot
43 doman doc/proot.1
44 dodoc doc/*.txt doc/articles/*
45 }
46
47 src_test() {
48 emake -C tests -j1 CC="$(tc-getCC)"
49 }

  ViewVC Help
Powered by ViewVC 1.1.20