/[gentoo-x86]/app-misc/pax-utils/pax-utils-0.6.ebuild
Gentoo

Contents of /app-misc/pax-utils/pax-utils-0.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Jan 2 18:28:32 2013 UTC (20 months, 3 weeks ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Version bump.

(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/pax-utils-0.5.ebuild,v 1.1 2012/11/04 08:28:57 vapier Exp $
4
5 inherit eutils toolchain-funcs unpacker
6
7 DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties"
8 HOMEPAGE="http://hardened.gentoo.org/pax-utils.xml"
9 SRC_URI="mirror://gentoo/pax-utils-${PV}.tar.xz
10 http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.xz
11 http://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.xz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
16 IUSE="caps python"
17 #RESTRICT="mirror"
18
19 RDEPEND="caps? ( sys-libs/libcap )
20 python? ( dev-python/pyelftools )"
21 DEPEND="${RDEPEND}
22 app-arch/xz-utils"
23
24 _emake() {
25 emake \
26 USE_CAP=$(usex caps) \
27 USE_PYTHON=$(usex python) \
28 "$@" || die
29 }
30
31 src_compile() {
32 _emake CC="$(tc-getCC)"
33 }
34
35 src_install() {
36 _emake DESTDIR="${D}" PKGDOCDIR='$(DOCDIR)'/${PF} install
37 prepalldocs
38 }

  ViewVC Help
Powered by ViewVC 1.1.20