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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Jan 24 00:12:08 2012 UTC (6 years, 9 months ago) by vapier
Branch: MAIN
Version bump.

(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

1 vapier 1.1 # Copyright 1999-2012 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.2.3.ebuild,v 1.8 2011/12/30 16:11:30 halcy0n Exp $
4    
5     inherit flag-o-matic toolchain-funcs eutils
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 ~sparc-fbsd ~x86-fbsd"
16     IUSE="caps"
17     #RESTRICT="mirror"
18    
19     RDEPEND="caps? ( sys-libs/libcap )"
20     DEPEND="${RDEPEND}
21     app-arch/xz-utils"
22    
23     src_unpack() {
24     # avoid newer EAPI for easy upgrade paths
25     xz -dc "${DISTDIR}/${A}" | tar xf - || die
26     }
27    
28     src_compile() {
29     emake CC="$(tc-getCC)" USE_CAP=$(use caps && echo yes) || die
30     }
31    
32     src_install() {
33     emake DESTDIR="${D}" install || die
34     dodoc BUGS README TODO
35     }

  ViewVC Help
Powered by ViewVC 1.1.20