blob: 7500d78ea4bd8d89a78b3255f7c71e4ac712a54b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/paxtest/paxtest-0.9.6.ebuild,v 1.6 2005/03/17 05:58:55 dostrow Exp $
inherit eutils
DESCRIPTION="PaX regression test suite"
HOMEPAGE="http://www.adamantix.org/paxtest/"
SRC_URI="http://www.adamantix.org/paxtest/paxtest-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ppc64 ~sparc ~x86"
IUSE=""
# pax flags are not strip safe.
RESTRICT="nostrip"
DEPEND="virtual/libc
>=sys-apps/chpax-0.5"
src_unpack() {
unpack ${A}
cp ${FILESDIR}/Makefile-portable ${S}/Makefile
}
src_compile() {
emake DESTDIR=${D} BINDIR=${D}/usr/bin RUNDIR=/usr/lib/paxtest || die
}
src_install() {
make DESTDIR="${D}" BINDIR=/usr/bin RUNDIR=/usr/lib/paxtest install || die
for doc in Changelog README ;do
[[ -f ${doc} ]] && dodoc ${doc}
done
}
|