1 |
# Copyright 1999-2013 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pypax/pypax-0.7.0.ebuild,v 1.8 2013/01/06 22:51:37 blueness Exp $ |
4 |
|
5 |
EAPI="3" |
6 |
|
7 |
SUPPORT_PYTHON_ABIS="1" |
8 |
RESTRICT_PYTHON_ABIS="*-jython" |
9 |
|
10 |
inherit distutils |
11 |
|
12 |
DESCRIPTION="Python module for reading or writing PaX flags to an ELF." |
13 |
HOMEPAGE="http://dev.gentoo.org/~blueness/elfix/" |
14 |
SRC_URI="http://dev.gentoo.org/~blueness/elfix/elfix-${PV}.tar.gz" |
15 |
|
16 |
S="${WORKDIR}/elfix-${PV}/scripts" |
17 |
|
18 |
LICENSE="GPL-3" |
19 |
SLOT="0" |
20 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86" |
21 |
IUSE="+ptpax +xtpax" |
22 |
|
23 |
DEPEND=" |
24 |
dev-libs/elfutils |
25 |
xtpax? ( sys-apps/attr )" |
26 |
|
27 |
RDEPEND="" |
28 |
|
29 |
src_compile() { |
30 |
unset PTPAX |
31 |
unset XTPAX |
32 |
use ptpax && export PTPAX="yes" |
33 |
use xtpax && export XTPAX="yes" |
34 |
distutils_src_compile |
35 |
} |