summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-forensics/foremost/ChangeLog7
-rw-r--r--app-forensics/foremost/foremost-1.5.7-r1.ebuild16
2 files changed, 13 insertions, 10 deletions
diff --git a/app-forensics/foremost/ChangeLog b/app-forensics/foremost/ChangeLog
index a3da5accc5b4..61cd9ce82a40 100644
--- a/app-forensics/foremost/ChangeLog
+++ b/app-forensics/foremost/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-forensics/foremost
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/foremost/ChangeLog,v 1.21 2010/04/12 20:20:14 idl0r Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/foremost/ChangeLog,v 1.22 2011/11/23 04:59:11 radhermit Exp $
+
+ 23 Nov 2011; Tim Harder <radhermit@gentoo.org> foremost-1.5.7-r1.ebuild:
+ Update to EAPI 4.
*foremost-1.5.7-r1 (12 Apr 2010)
*foremost-1.5.6-r1 (12 Apr 2010)
diff --git a/app-forensics/foremost/foremost-1.5.7-r1.ebuild b/app-forensics/foremost/foremost-1.5.7-r1.ebuild
index 07f30e533fee..75e9983a1d8c 100644
--- a/app-forensics/foremost/foremost-1.5.7-r1.ebuild
+++ b/app-forensics/foremost/foremost-1.5.7-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/foremost/foremost-1.5.7-r1.ebuild,v 1.2 2010/09/07 12:59:01 ikelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/foremost/foremost-1.5.7-r1.ebuild,v 1.3 2011/11/23 04:59:11 radhermit Exp $
+
+EAPI=4
inherit eutils toolchain-funcs
@@ -10,24 +12,22 @@ HOMEPAGE="http://foremost.sourceforge.net/"
# starting to hate sf.net ...
SRC_URI="http://foremost.sourceforge.net/pkg/${P}.tar.gz"
-KEYWORDS="~ppc ~x86 ~amd64"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
LICENSE="public-domain"
SLOT="0"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}/${PN}-1.4-config-location.patch"
}
src_compile() {
emake RAW_FLAGS="${CFLAGS} -Wall ${LDFLAGS}" RAW_CC="$(tc-getCC) -DVERSION=\\\"${PV}\\\"" \
- CONF=/etc || die "emake failed"
+ CONF=/etc
}
src_install() {
- dobin foremost || die
+ dobin foremost
doman foremost.8.gz
insinto /etc
doins foremost.conf