| 1 |
# Copyright 1999-2012 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.5.0.ebuild,v 1.1 2012/07/24 13:35:03 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="~amd64 ~x86"
|
| 21 |
IUSE="xtpax"
|
| 22 |
|
| 23 |
DEPEND="
|
| 24 |
|| (
|
| 25 |
dev-libs/elfutils
|
| 26 |
dev-libs/libelf
|
| 27 |
)
|
| 28 |
sys-devel/binutils
|
| 29 |
xtpax? ( sys-apps/attr )"
|
| 30 |
RDEPEND=""
|
| 31 |
|
| 32 |
src_compile() {
|
| 33 |
unset XATTR
|
| 34 |
use xtpax && export XATTR="yes"
|
| 35 |
distutils_src_compile
|
| 36 |
}
|