diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2010-09-06 16:53:59 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2010-09-06 16:53:59 +0000 |
commit | 391e2c62053d59dff71b7ae25a54aae60b019f7d (patch) | |
tree | 04ce973215d94f3d44494391dc6a66c1644069b1 /app-text/bibutils/bibutils-4.10.ebuild | |
parent | Enable XFCE_PLUGINS="menu" by default. (diff) | |
download | gentoo-2-391e2c62053d59dff71b7ae25a54aae60b019f7d.tar.gz gentoo-2-391e2c62053d59dff71b7ae25a54aae60b019f7d.tar.bz2 gentoo-2-391e2c62053d59dff71b7ae25a54aae60b019f7d.zip |
Version bump. Fixes bug 336237. Thanks to Diego for the report.
(Portage version: 2.1.9/cvs/Linux x86_64)
Diffstat (limited to 'app-text/bibutils/bibutils-4.10.ebuild')
-rw-r--r-- | app-text/bibutils/bibutils-4.10.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app-text/bibutils/bibutils-4.10.ebuild b/app-text/bibutils/bibutils-4.10.ebuild new file mode 100644 index 000000000000..4bc6d3562bd3 --- /dev/null +++ b/app-text/bibutils/bibutils-4.10.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/bibutils/bibutils-4.10.ebuild,v 1.1 2010/09/06 16:53:59 xarthisius Exp $ + +EAPI=2 +inherit toolchain-funcs + +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" +IUSE="" + +S=${WORKDIR}/${MY_P} + +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' \ + -e 's:make:$(MAKE):g' \ + Makefile_start > Makefile \ + || die "Failed to set up Makefile" + sed -e '/$(CC) $^ -o $@/d' -i bin/Makefile || die #336237 +} + +src_install() { + dodir /usr/bin + emake install || die + dodoc ChangeLog || die +} |