summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-07-26 00:59:36 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-07-26 00:59:36 +0000
commitb7d8648283affb1231b8d2f903b22b0c0a0a7c24 (patch)
treedcf05aef0a6123e786abd8c3fcbe8115f365ad71 /app-text/bibutils
parentSomething ate my changelog, refix. (diff)
downloadgentoo-2-b7d8648283affb1231b8d2f903b22b0c0a0a7c24.tar.gz
gentoo-2-b7d8648283affb1231b8d2f903b22b0c0a0a7c24.tar.bz2
gentoo-2-b7d8648283affb1231b8d2f903b22b0c0a0a7c24.zip
Version bump and fixed parallel compilation
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'app-text/bibutils')
-rw-r--r--app-text/bibutils/ChangeLog10
-rw-r--r--app-text/bibutils/bibutils-4.2.ebuild (renamed from app-text/bibutils/bibutils-3.27.ebuild)26
2 files changed, 22 insertions, 14 deletions
diff --git a/app-text/bibutils/ChangeLog b/app-text/bibutils/ChangeLog
index 2ff4e6461f5c..87b26066a1d2 100644
--- a/app-text/bibutils/ChangeLog
+++ b/app-text/bibutils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/bibutils
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/bibutils/ChangeLog,v 1.5 2008/02/12 16:25:20 markusle Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/bibutils/ChangeLog,v 1.6 2009/07/26 00:59:36 bicatali Exp $
+
+*bibutils-4.2 (26 Jul 2009)
+
+ 26 Jul 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ -bibutils-3.27.ebuild, +bibutils-4.2.ebuild:
+ Version bump and fixed parallel compilation
*bibutils-3.40 (12 Feb 2008)
diff --git a/app-text/bibutils/bibutils-3.27.ebuild b/app-text/bibutils/bibutils-4.2.ebuild
index 27e7be172eab..a4077390072c 100644
--- a/app-text/bibutils/bibutils-3.27.ebuild
+++ b/app-text/bibutils/bibutils-4.2.ebuild
@@ -1,13 +1,15 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/bibutils/bibutils-3.27.ebuild,v 1.5 2008/02/12 22:53:28 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/bibutils/bibutils-4.2.ebuild,v 1.1 2009/07/26 00:59:36 bicatali Exp $
+EAPI=2
inherit toolchain-funcs
-MY_P="${P/-/_}"
+MY_P="${PN}_${PV}"
DESCRIPTION="Interconverts between various bibliography formats using a common XML intermediate"
HOMEPAGE="http://www.scripps.edu/~cdputnam/software/bibutils"
SRC_URI="http://www.scripps.edu/~cdputnam/software/bibutils/${MY_P}_src.tgz"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
@@ -15,22 +17,22 @@ IUSE=""
S="${WORKDIR}/${MY_P}"
-src_compile() {
- # The custom configure script sucks, so we'll just do its job
- # ourselves
+src_prepare() {
+ # The custom configure script sucks, so we'll just do its
+ # job ourselves
+ rm -f Makefile configure || die "Failed to purge old Makefile"
sed \
-e "s:REPLACE_CC:CC=\"$(tc-getCC) ${CFLAGS}\":g" \
-e "s:REPLACE_RANLIB:RANLIB=\"$(tc-getRANLIB)\":g" \
-e "s:REPLACE_INSTALLDIR:\"${D}/usr/bin\":g" \
- -e "s:REPLACE_POSTFIX::g" \
- Makefile_start \
- > Makefile
-
- emake || die "emake failed"
+ -e 's:REPLACE_POSTFIX::g' \
+ -e 's:make:$(MAKE):g' \
+ Makefile_start > Makefile \
+ || die "Failed to set upt Makefile"
}
+
src_install() {
dodir /usr/bin
emake install || die "emake install failed"
-
dodoc ChangeLog
}