summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2010-04-05 22:20:41 +0000
committerJonathan Callen <abcd@gentoo.org>2010-04-05 22:20:41 +0000
commit743c96a0fe3a87a3d73b2e54e0cb3a9ae27af7c3 (patch)
treedea99f4e5ab5d1d4156f00973153bc36e14445c5 /app-text/barcode
parentFix bug #284669 #232847 #291259 Thank you all (diff)
downloadgentoo-2-743c96a0fe3a87a3d73b2e54e0cb3a9ae27af7c3.tar.gz
gentoo-2-743c96a0fe3a87a3d73b2e54e0cb3a9ae27af7c3.tar.bz2
gentoo-2-743c96a0fe3a87a3d73b2e54e0cb3a9ae27af7c3.zip
Bump to EAPI=3, add prefix keywords
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'app-text/barcode')
-rw-r--r--app-text/barcode/ChangeLog7
-rw-r--r--app-text/barcode/barcode-0.98.ebuild17
2 files changed, 13 insertions, 11 deletions
diff --git a/app-text/barcode/ChangeLog b/app-text/barcode/ChangeLog
index 51ed01ae0ed4..18518f29a069 100644
--- a/app-text/barcode/ChangeLog
+++ b/app-text/barcode/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/barcode
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/barcode/ChangeLog,v 1.17 2009/02/27 21:43:50 tove Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/barcode/ChangeLog,v 1.18 2010/04/05 22:20:41 abcd Exp $
+
+ 05 Apr 2010; Jonathan Callen <abcd@gentoo.org> barcode-0.98.ebuild:
+ Bump to EAPI=3, add prefix keywords
27 Feb 2009; Torsten Veller <tove@gentoo.org> barcode-0.98.ebuild:
Add missing die: || "..." -> || die "..."
diff --git a/app-text/barcode/barcode-0.98.ebuild b/app-text/barcode/barcode-0.98.ebuild
index a2d61ff59c21..bbf9a542b0b4 100644
--- a/app-text/barcode/barcode-0.98.ebuild
+++ b/app-text/barcode/barcode-0.98.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/barcode/barcode-0.98.ebuild,v 1.17 2009/02/27 21:43:50 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/barcode/barcode-0.98.ebuild,v 1.18 2010/04/05 22:20:41 abcd Exp $
+
+EAPI="3"
inherit eutils toolchain-funcs
@@ -10,12 +12,10 @@ SRC_URI="mirror://gnu/barcode/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86 ~arm"
+KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${PV}-info.patch
sed -i \
-e 's:/info:/share/info:' \
@@ -23,13 +23,12 @@ src_unpack() {
Makefile.in || die "sed failed"
}
-src_compile() {
+src_configure() {
tc-export CC
econf
- emake || die "emake failed"
}
src_install() {
- emake install prefix="${D}/usr" LIBDIR="\$(prefix)/$(get_libdir)" || die
+ emake install prefix="${ED}/usr" LIBDIR="\$(prefix)/$(get_libdir)" || die
dodoc ChangeLog README TODO doc/barcode.{pdf,ps}
}