| 1 |
blueness |
1.1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
|
|
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
jer |
1.6 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/elfix/elfix-0.5.2.ebuild,v 1.5 2012/07/29 22:04:14 blueness Exp $
|
| 4 |
blueness |
1.1 |
|
| 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 |
jer |
1.6 |
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
|
| 14 |
blueness |
1.1 |
IUSE="test xtpax"
|
| 15 |
|
|
|
| 16 |
|
|
DEPEND="
|
| 17 |
|
|
dev-libs/elfutils
|
| 18 |
blueness |
1.2 |
=dev-python/pypax-${PV}[xtpax=]
|
| 19 |
blueness |
1.1 |
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 |
|
|
}
|