summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-01-16 16:01:42 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-01-16 16:01:42 +0000
commit839eb5ff2eff211a419a5f1c293cf8062f44af56 (patch)
tree1d45aa0f690dd9f141edac4975ee5d9d629bf285 /app-arch
parentRevert last commit because of unclear upstream status. (diff)
downloadgentoo-2-839eb5ff2eff211a419a5f1c293cf8062f44af56.tar.gz
gentoo-2-839eb5ff2eff211a419a5f1c293cf8062f44af56.tar.bz2
gentoo-2-839eb5ff2eff211a419a5f1c293cf8062f44af56.zip
Update the ebuild from EAPI=0 to EAPI=4.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/par2cmdline/ChangeLog6
-rw-r--r--app-arch/par2cmdline/par2cmdline-0.4-r2.ebuild24
2 files changed, 16 insertions, 14 deletions
diff --git a/app-arch/par2cmdline/ChangeLog b/app-arch/par2cmdline/ChangeLog
index b069239bdd48..863fe42b14d0 100644
--- a/app-arch/par2cmdline/ChangeLog
+++ b/app-arch/par2cmdline/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-arch/par2cmdline
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/par2cmdline/ChangeLog,v 1.25 2012/01/16 15:59:01 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/par2cmdline/ChangeLog,v 1.26 2012/01/16 16:01:42 ssuominen Exp $
+
+ 16 Jan 2012; Samuli Suominen <ssuominen@gentoo.org>
+ par2cmdline-0.4-r2.ebuild:
+ Update the ebuild from EAPI=0 to EAPI=4.
16 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> -par2cmdline-0.5.ebuild:
Revert last commit because of unclear upstream status.
diff --git a/app-arch/par2cmdline/par2cmdline-0.4-r2.ebuild b/app-arch/par2cmdline/par2cmdline-0.4-r2.ebuild
index e113556aacd4..85a6532a209c 100644
--- a/app-arch/par2cmdline/par2cmdline-0.4-r2.ebuild
+++ b/app-arch/par2cmdline/par2cmdline-0.4-r2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/par2cmdline/par2cmdline-0.4-r2.ebuild,v 1.7 2010/01/15 01:30:02 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/par2cmdline/par2cmdline-0.4-r2.ebuild,v 1.8 2012/01/16 16:01:42 ssuominen Exp $
+EAPI=4
inherit eutils
DESCRIPTION="A PAR-2.0 file verification and repair tool"
@@ -13,23 +14,20 @@ SLOT="0"
KEYWORDS="amd64 ~hppa ppc ~ppc64 x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE=""
-DEPEND=""
+DOCS="AUTHORS ChangeLog README"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${P}-wildcard-fix.patch
- epatch "${FILESDIR}"/${P}-offset.patch
- epatch "${FILESDIR}"/${P}-letype.patch
- epatch "${FILESDIR}"/${P}-gcc4.patch
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-wildcard-fix.patch \
+ "${FILESDIR}"/${P}-offset.patch \
+ "${FILESDIR}"/${P}-letype.patch \
+ "${FILESDIR}"/${P}-gcc4.patch
}
src_install() {
- make install DESTDIR="${D}" || die "make install failed"
+ default
# Replace the hardlinks with symlinks
dosym par2 /usr/bin/par2create
dosym par2 /usr/bin/par2repair
dosym par2 /usr/bin/par2verify
- dodoc AUTHORS ChangeLog README
}