summaryrefslogtreecommitdiff
blob: 54e8d23d42c19a2cf1b53ac859ed3f0eadc9322e (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/chpax/chpax-0.4.ebuild,v 1.3 2003/06/21 21:19:39 drobbins Exp $

S=${WORKDIR}/chpax

DESCRIPTION="Manages various PaX related flags for ELF32, ELF64, and a.out binaries."
SRC_URI="http://pageexec.virtualave.net/chpax-${PV}.tar.gz"
HOMEPAGE="http://pageexec.virtualave.net"
KEYWORDS="x86 amd64 ~sparc"
LICENSE="public-domain"
SLOT="0"

IUSE=""
DEPEND="virtual/glibc"

src_compile() {
	mv Makefile{,.orig}        
	sed -e "s|-Wall|${CFLAGS} -Wall|" Makefile.orig > Makefile
	emake CC="${CC}" || die "Parallel Make Failed"
}

src_install() {
	into /
	dosbin chpax
	fperms 700 /sbin/chpax
	dodoc Changelog README
}