| 1 |
# Copyright 1999-2012 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.5.2.ebuild,v 1.10 2012/09/18 13:47:55 johu 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="test xtpax" |
| 15 |
|
| 16 |
DEPEND=" |
| 17 |
dev-libs/elfutils |
| 18 |
=dev-python/pypax-${PV}[xtpax=] |
| 19 |
xtpax? ( sys-apps/attr )" |
| 20 |
|
| 21 |
RDEPEND="${DEPEND}" |
| 22 |
|
| 23 |
src_configure() { |
| 24 |
rm -f "${S}/scripts/setup.py" |
| 25 |
econf $(use_enable test tests) |
| 26 |
} |
| 27 |
|
| 28 |
src_install() { |
| 29 |
emake DESTDIR="${D}" install |
| 30 |
dodoc AUTHORS ChangeLog INSTALL README THANKS TODO |
| 31 |
} |