| 1 |
blueness |
1.1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
|
|
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
blueness |
1.2 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pypax/pypax-0.8.0.ebuild,v 1.1 2012/12/29 15:27:03 blueness 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 |
|
|
http://www.gentoo.org/proj/en/hardened/pax-quickstart.xml"
|
| 15 |
|
|
SRC_URI="http://dev.gentoo.org/~blueness/elfix/elfix-${PV}.tar.gz"
|
| 16 |
|
|
|
| 17 |
|
|
S="${WORKDIR}/elfix-${PV}/scripts"
|
| 18 |
|
|
|
| 19 |
|
|
LICENSE="GPL-3"
|
| 20 |
|
|
SLOT="0"
|
| 21 |
|
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
| 22 |
|
|
IUSE="+ptpax +xtpax"
|
| 23 |
|
|
|
| 24 |
|
|
DEPEND="
|
| 25 |
|
|
dev-libs/elfutils
|
| 26 |
|
|
xtpax? ( sys-apps/attr )"
|
| 27 |
|
|
|
| 28 |
|
|
RDEPEND=""
|
| 29 |
|
|
|
| 30 |
|
|
src_compile() {
|
| 31 |
|
|
unset PTPAX
|
| 32 |
|
|
unset XTPAX
|
| 33 |
|
|
use ptpax && export PTPAX="yes"
|
| 34 |
|
|
use xtpax && export XTPAX="yes"
|
| 35 |
|
|
distutils_src_compile
|
| 36 |
|
|
}
|