diff --git a/app-text/bibutils/Manifest b/app-text/bibutils/Manifest index 0bde49383a5d4..53c136737bd93 100644 --- a/app-text/bibutils/Manifest +++ b/app-text/bibutils/Manifest @@ -1 +1,2 @@ DIST bibutils_7.1_src.tgz 620141 BLAKE2B f020ea7c8164a870ef4c72defae1adc11558661a7ae9f3b037115cfc4a9e71b4f37c64f3b74641182300c3e921b8a0c309257a468b6b32f4fc2915e4a36f04d1 SHA512 2a155ca60c97d37941c860635d8e6920bd78de84452e1fee93a2f7331392f6a43f2c10055e84349bcac89314025d1524fd5cc73c47ad1613baa7baf2667c3f33 +DIST bibutils_7.2_src.tgz 620644 BLAKE2B e58e740e8e68e72e7d1bd84cd45e50add17f18fabf42d737df0c4206ea085eb2368ff585136cb1f4c5c8ccc337041778f46a39381f557c0bee37fe7817d9c538 SHA512 6a8d1e616fee6a8aff38792cfb9d9b1797b5729d356c0e5651d713b2631ac81d2b287602026bbc4e8f52762f3b2a2d35b2da339f2387c98c2fbc99bb47c3b21e diff --git a/app-text/bibutils/bibutils-7.2.ebuild b/app-text/bibutils/bibutils-7.2.ebuild new file mode 100644 index 0000000000000..2d3f37eae060c --- /dev/null +++ b/app-text/bibutils/bibutils-7.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +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="https://downloads.sourceforge.net/${PN}/${MY_P}_src.tgz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +src_prepare() { + default + sed -ie 's/REPLACE_INSTALLDIR/${DESTDIR}&/' Makefile_start || die + sed -ie 's/REPLACE_LIBINSTALLDIR/${DESTDIR}&/' Makefile_start || die +} + +src_configure() { + ./configure \ + --install-dir /usr/bin \ + --install-lib /usr/$(get_libdir) \ + --dynamic || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + DISTRO_CFLAGS="${CFLAGS}" \ + LDFLAGSIN="${LDFLAGS}" +} + +src_test() { + emake \ + CC="$(tc-getCC)" \ + DISTRO_CFLAGS="${CFLAGS}" \ + LDFLAGSIN="${LDFLAGS}" test +}