diff options
author | Jonathan Callen <jcallen@gentoo.org> | 2011-04-10 03:10:17 +0000 |
---|---|---|
committer | Jonathan Callen <jcallen@gentoo.org> | 2011-04-10 03:10:17 +0000 |
commit | 335dcaed51a7f1ca312be8c7156d31f92c7654ab (patch) | |
tree | 8fc8258e7a2055ec9657b81e7a9701b12c9c4bcf /dev-util/rats | |
parent | Fix compatibility with Python 3.2 (bug #351063). (diff) | |
download | historical-335dcaed51a7f1ca312be8c7156d31f92c7654ab.tar.gz historical-335dcaed51a7f1ca312be8c7156d31f92c7654ab.tar.bz2 historical-335dcaed51a7f1ca312be8c7156d31f92c7654ab.zip |
Add prefix support, bump EAPI to 3, add prefix keywords
Package-Manager: portage-2.2.0_alpha29_p11/cvs/Linux i686
Diffstat (limited to 'dev-util/rats')
-rw-r--r-- | dev-util/rats/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/rats/rats-2.1-r2.ebuild | 17 |
2 files changed, 13 insertions, 11 deletions
diff --git a/dev-util/rats/ChangeLog b/dev-util/rats/ChangeLog index 89983d6acb65..d7207122d82e 100644 --- a/dev-util/rats/ChangeLog +++ b/dev-util/rats/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-util/rats -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/rats/ChangeLog,v 1.20 2009/09/23 17:47:08 patrick Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/rats/ChangeLog,v 1.21 2011/04/10 03:10:17 abcd Exp $ + + 10 Apr 2011; Jonathan Callen <abcd@gentoo.org> rats-2.1-r2.ebuild: + Add prefix support, bump EAPI to 3, add prefix keywords 23 Sep 2009; Patrick Lauer <patrick@gentoo.org> rats-2.1.ebuild, rats-2.1-r1.ebuild, rats-2.1-r2.ebuild: diff --git a/dev-util/rats/rats-2.1-r2.ebuild b/dev-util/rats/rats-2.1-r2.ebuild index c210cf10fe55..661f7806cd83 100644 --- a/dev-util/rats/rats-2.1-r2.ebuild +++ b/dev-util/rats/rats-2.1-r2.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/rats/rats-2.1-r2.ebuild,v 1.9 2009/10/12 08:27:32 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/rats/rats-2.1-r2.ebuild,v 1.10 2011/04/10 03:10:17 abcd Exp $ +EAPI=3 inherit eutils DESCRIPTION="RATS - Rough Auditing Tool for Security" @@ -10,24 +11,22 @@ SRC_URI="http://www.fortifysoftware.com/servlet/downloads/public/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ppc sparc x86" +KEYWORDS="amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="" DEPEND="dev-libs/expat" -src_unpack() { - unpack ${A} +src_prepare() { epatch "${FILESDIR}"/${P}-add-getopt-trailing-null.patch epatch "${FILESDIR}"/${P}-fix-null-pointers.patch } -src_compile() { - econf --datadir="/usr/share/${PN}/" || die - emake || die +src_configure() { + econf --datadir="${EPREFIX}/usr/share/${PN}/" } src_install () { - einstall SHAREDIR="${D}/usr/share/${PN}" MANDIR="${D}/usr/share/man" || die + einstall SHAREDIR="${ED}/usr/share/${PN}" MANDIR="${ED}/usr/share/man" dodoc README README.win32 } |