/[gentoo-x86]/sys-apps/paxctl/paxctl-0.7-r2.ebuild
Gentoo

Contents of /sys-apps/paxctl/paxctl-0.7-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Thu May 24 09:46:20 2012 UTC (2 years, 2 months ago) by blueness
Branch: MAIN
Make ebuild prefix friendly

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 blueness 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/sys-apps/paxctl/paxctl-0.7-r1.ebuild,v 1.8 2012/05/06 17:58:44 armin76 Exp $
4    
5     EAPI="4"
6    
7     inherit toolchain-funcs
8    
9     DESCRIPTION="Manages various PaX related program header flags for Elf32, Elf64, binaries."
10     SRC_URI="http://pax.grsecurity.net/${P}.tar.bz2"
11     HOMEPAGE="http://pax.grsecurity.net"
12     KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
13     IUSE=""
14     LICENSE="GPL-2"
15     SLOT="0"
16    
17     DEPEND=">=sys-devel/binutils-2.14.90.0.8-r1"
18     RDEPEND=""
19    
20     DOCS=( README ChangeLog )
21    
22     src_prepare() {
23     sed \
24     "s:--owner 0 --group 0::g" \
25     -i Makefile || die
26     }
27    
28     src_compile() {
29     emake \
30     CC="$(tc-getCC)" \
31     CFLAGS="${CFLAGS}" \
32     LDFLAGS="${LDFLAGS}"
33     }
34    
35     src_install () {
36     emake DESTDIR="${ED}" install
37     }

  ViewVC Help
Powered by ViewVC 1.1.20