diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2019-01-11 22:23:11 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2019-01-11 22:23:38 +0100 |
commit | d9c3adb551b63268fd4011bb1eb14a1018b49ea0 (patch) | |
tree | a1c45538f153c1b8e50f9e940534ce2e24e9d8d7 /app-text/bibutils/bibutils-6.7.ebuild | |
parent | app-text/xmlto: arm64 stable (bug #669068) (diff) | |
download | gentoo-d9c3adb551b63268fd4011bb1eb14a1018b49ea0.tar.gz gentoo-d9c3adb551b63268fd4011bb1eb14a1018b49ea0.tar.bz2 gentoo-d9c3adb551b63268fd4011bb1eb14a1018b49ea0.zip |
app-text/bibutils: Version bump
Closes: https://bugs.gentoo.org/613346
Closes: https://bugs.gentoo.org/613352
Bug: https://bugs.gentoo.org/662884
Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'app-text/bibutils/bibutils-6.7.ebuild')
-rw-r--r-- | app-text/bibutils/bibutils-6.7.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/app-text/bibutils/bibutils-6.7.ebuild b/app-text/bibutils/bibutils-6.7.ebuild new file mode 100644 index 000000000000..0b626bb59e52 --- /dev/null +++ b/app-text/bibutils/bibutils-6.7.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +MY_P="${PN}_${PV}" +DESCRIPTION="Interconverts between various bibliography formats using common XML intermediate" +HOMEPAGE="https://sourceforge.net/p/bibutils/home/Bibutils/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}_src.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +S=${WORKDIR}/${MY_P} + +src_configure() { + # The custom configure script still sucks several releases later, so we'll + # just do its job ourselves + rm -f Makefile configure || die "Failed to purge old Makefile" + sed \ + -e "s:REPLACE_CC:$(tc-getCC):g" \ + -e "s:REPLACE_EXEEXT::g" \ + -e "s:REPLACE_LIBTARGET:libbibutils.so:g" \ + -e "s:REPLACE_LIBEXT:.so:g" \ + -e "s:REPLACE_CFLAGS:${CFLAGS}:g" \ + -e "s:REPLACE_CLIBFLAGS:${CFLAGS} -fPIC:g" \ + -e "s:REPLACE_RANLIB:$(tc-getRANLIB):g" \ + -e 's:REPLACE_POSTFIX::g' \ + -e "s:REPLACE_INSTALLDIR:\"${D}/usr/bin\":g" \ + -e "s:REPLACE_LIBINSTALLDIR:\"${D}/usr/$(get_libdir)\":g" \ + -e 's:make:$(MAKE):g' \ + Makefile_start > Makefile \ + || die "Failed to set up Makefile" + + cp lib/Makefile.dynamic lib/Makefile || die + cp bin/Makefile.dynamic bin/Makefile || die + cp test/Makefile.dynamic test/Makefile || die +} + +src_install() { + dodir /usr/bin + emake install + dodoc ChangeLog +} |