1 |
blueness |
1.1 |
# Copyright 1999-2012 Gentoo Foundation |
2 |
|
|
# Distributed under the terms of the GNU General Public License v2 |
3 |
blueness |
1.12 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pypax/pypax-0.5.2.ebuild,v 1.11 2012/09/30 17:22:56 armin76 Exp $ |
4 |
blueness |
1.1 |
|
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 |
armin76 |
1.11 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86" |
21 |
blueness |
1.1 |
IUSE="xtpax" |
22 |
|
|
|
23 |
|
|
DEPEND=" |
24 |
|
|
dev-libs/elfutils |
25 |
|
|
xtpax? ( sys-apps/attr )" |
26 |
|
|
|
27 |
|
|
RDEPEND="" |
28 |
|
|
|
29 |
|
|
src_compile() { |
30 |
|
|
unset XATTR |
31 |
|
|
use xtpax && export XATTR="yes" |
32 |
|
|
distutils_src_compile |
33 |
|
|
} |