summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <jcallen@gentoo.org>2010-02-21 03:53:20 +0000
committerJonathan Callen <jcallen@gentoo.org>2010-02-21 03:53:20 +0000
commitc8b51050359c28ca66dd6e8fd84086b4c985b904 (patch)
tree0e1ceccc4a8c5f12a108594c733e21cb5afb42a9 /app-text/convmv/convmv-1.14.ebuild
parentRevbump for EAPI bump, add prefix keywords (diff)
downloadhistorical-c8b51050359c28ca66dd6e8fd84086b4c985b904.tar.gz
historical-c8b51050359c28ca66dd6e8fd84086b4c985b904.tar.bz2
historical-c8b51050359c28ca66dd6e8fd84086b4c985b904.zip
Bump EAPI, add prefix support & keywords
Package-Manager: portage--svn/cvs/Linux i686
Diffstat (limited to 'app-text/convmv/convmv-1.14.ebuild')
-rw-r--r--app-text/convmv/convmv-1.14.ebuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/app-text/convmv/convmv-1.14.ebuild b/app-text/convmv/convmv-1.14.ebuild
index 7c363460794c..d8970d9fbba1 100644
--- a/app-text/convmv/convmv-1.14.ebuild
+++ b/app-text/convmv/convmv-1.14.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/convmv/convmv-1.14.ebuild,v 1.1 2009/06/28 09:35:10 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/convmv/convmv-1.14.ebuild,v 1.2 2010/02/21 03:53:20 abcd Exp $
+
+EAPI=3
inherit eutils
@@ -15,22 +17,18 @@ IUSE=""
DEPEND="dev-lang/perl"
-src_compile() {
- emake || die "emake failed"
+src_prepare() {
+ sed -i -e "1s|#!/usr|#!${EPREFIX}/usr|" convmv || die
}
src_install() {
- einstall DESTDIR="${D}" PREFIX=/usr || die "einstall failed"
+ einstall DESTDIR="${D}" PREFIX="${EPREFIX}"/usr || die "einstall failed"
dodoc CREDITS Changes TODO VERSION
}
src_test() {
unpack ./testsuite.tar
- # Patch merged by upstream
- # Never make assumptions as to the ordering of files inside a directory!
- #EPATCH_OPTS="-d ${S}/suite/" epatch "${FILESDIR}"/${PN}-1.10-testcase-cleanup.patch
-
cd "${S}"/suite
./dotests.sh || die "Tests failed"
}