| 1 |
blueness |
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/sys-apps/elfix/elfix-0.5.2.ebuild,v 1.12 2012/09/30 17:24:52 armin76 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 +ptpax 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 \
|
| 26 |
|
|
$(use_enable test tests) \
|
| 27 |
|
|
$(use_enable ptpax ptpax) \
|
| 28 |
|
|
$(use_enable xtpax xtpax)
|
| 29 |
|
|
}
|
| 30 |
|
|
|
| 31 |
|
|
src_install() {
|
| 32 |
|
|
emake DESTDIR="${D}" install
|
| 33 |
|
|
dodoc AUTHORS ChangeLog INSTALL README THANKS TODO
|
| 34 |
|
|
}
|