| 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/elfix/elfix-0.7.0.ebuild,v 1.9 2012/12/31 15:23:03 jer Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
|
| 7 |
DESCRIPTION="Tools to work with ELF binaries and libraries on Hardened Gentoo."
|
| 8 |
HOMEPAGE="http://dev.gentoo.org/~blueness/elfix/"
|
| 9 |
SRC_URI="http://dev.gentoo.org/~blueness/elfix/${P}.tar.gz"
|
| 10 |
|
| 11 |
LICENSE="GPL-3"
|
| 12 |
SLOT="0"
|
| 13 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86"
|
| 14 |
IUSE="+ptpax +xtpax"
|
| 15 |
|
| 16 |
# These only work on a properly configured pax kernel
|
| 17 |
RESTRICT="test"
|
| 18 |
|
| 19 |
DEPEND="
|
| 20 |
dev-libs/elfutils
|
| 21 |
=dev-python/pypax-${PV}[ptpax=,xtpax=]
|
| 22 |
xtpax? ( sys-apps/attr )"
|
| 23 |
|
| 24 |
RDEPEND="${DEPEND}"
|
| 25 |
|
| 26 |
src_configure() {
|
| 27 |
rm -f "${S}/scripts/setup.py"
|
| 28 |
econf \
|
| 29 |
--disable-tests \
|
| 30 |
$(use_enable ptpax) \
|
| 31 |
$(use_enable xtpax)
|
| 32 |
}
|
| 33 |
|
| 34 |
src_install() {
|
| 35 |
emake DESTDIR="${D}" install
|
| 36 |
dodoc AUTHORS ChangeLog INSTALL README THANKS TODO
|
| 37 |
}
|