| 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.2.ebuild,v 1.2 2011/03/03 21:12:57 vapier Exp $
|
| 4 |
|
| 5 |
inherit toolchain-funcs
|
| 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.bz2
|
| 10 |
http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.bz2
|
| 11 |
http://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.bz2"
|
| 12 |
#SRC_URI="http://wh0rd.org/pax-utils-${PV}.tar.bz2"
|
| 13 |
|
| 14 |
LICENSE="GPL-2"
|
| 15 |
SLOT="0"
|
| 16 |
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
| 17 |
IUSE="caps"
|
| 18 |
#RESTRICT="mirror"
|
| 19 |
|
| 20 |
DEPEND="caps? ( sys-libs/libcap )"
|
| 21 |
|
| 22 |
src_compile() {
|
| 23 |
emake CC="$(tc-getCC)" USE_CAP=$(use caps && echo yes) || die
|
| 24 |
}
|
| 25 |
|
| 26 |
src_install() {
|
| 27 |
emake DESTDIR="${D}" install || die
|
| 28 |
dodoc BUGS README TODO
|
| 29 |
}
|