diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2022-01-18 00:22:03 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2022-01-18 00:39:19 +0100 |
commit | 9048b7e5e28d3e81db2043443c6f92ca718ccbfa (patch) | |
tree | 3e9f5e80e57d48b2a2da2f649d0f6c67126812ac /app-text | |
parent | gnome-base/gnome-flashback: Version bump to 3.42.1 (diff) | |
download | gentoo-9048b7e5e28d3e81db2043443c6f92ca718ccbfa.tar.gz gentoo-9048b7e5e28d3e81db2043443c6f92ca718ccbfa.tar.bz2 gentoo-9048b7e5e28d3e81db2043443c6f92ca718ccbfa.zip |
app-text/build-docbook-catalog: Version bump to spare releng lots of pain
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/build-docbook-catalog/Manifest | 1 | ||||
-rw-r--r-- | app-text/build-docbook-catalog/build-docbook-catalog-2.2.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/app-text/build-docbook-catalog/Manifest b/app-text/build-docbook-catalog/Manifest index 7a28c363894a..801e758104f4 100644 --- a/app-text/build-docbook-catalog/Manifest +++ b/app-text/build-docbook-catalog/Manifest @@ -1,2 +1,3 @@ DIST build-docbook-catalog-1.21.tar.xz 4620 BLAKE2B ed4aa645a5bb8e168c291c05891a2359114c9148a81588d93542528a0c74828a1824dc98a14468e8ba65525edf5aae8c936f29190d54063064cd54e2af8dbc3c SHA512 0becc1bae100101b072c62bee844157151336aebc39a046030c8b7b501e13f1b3552097b244ac51339abd2e724304f4fe728861b7d5f070c26973998936861bc DIST build-docbook-catalog-2.1.tar.bz2 4731 BLAKE2B 38864866f03052386a0ba2fe832c750b851a5a0730df54fbac5253da682e92c0d865333c136d9c169a843e2a1ce291b2e5b5af657e7dba0dbf8d2fda213f6891 SHA512 8399652841f25feefa9ad3c138580f31da34410a44f2bdbdb4d63cb6efd1be445c7c4df6ed93629e53df4a4c6d988ed32a6a709f1abb059ccac0bc35b3b516a5 +DIST build-docbook-catalog-2.2.tar.bz2 4711 BLAKE2B c93f6c14450e9308dce82724c305846b1635e96470ecb72c240d502b6f7ed360ee013bf40e3cda204e784c034b8a522f6247b3dbc24fe92a9e12d0ca5c28acb7 SHA512 2e6895f8d3564dbef0dc4882448ee5f4457ac01c58be09e2939a364676a52f7d44899cab621101fb4a3161292d15d9df898e076e412ff50fb88d2861ca554b1e diff --git a/app-text/build-docbook-catalog/build-docbook-catalog-2.2.ebuild b/app-text/build-docbook-catalog/build-docbook-catalog-2.2.ebuild new file mode 100644 index 000000000000..c62da59add92 --- /dev/null +++ b/app-text/build-docbook-catalog/build-docbook-catalog-2.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DESCRIPTION="DocBook XML catalog auto-updater" +HOMEPAGE="https://gitweb.gentoo.org/proj/build-docbook-catalog.git/" +SRC_URI="https://gitweb.gentoo.org/proj/build-docbook-catalog.git/snapshot/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + dev-libs/libxml2 + || ( sys-apps/util-linux app-misc/getopt ) +" + +src_prepare() { + default + + sed -i -e "/^EPREFIX=/s:=.*:='${EPREFIX}':" build-docbook-catalog || die + has_version sys-apps/util-linux || sed -i -e '/^GETOPT=/s/getopt/&-long/' build-docbook-catalog || die +} + +src_configure() { + # export for bug #490754 + export MAKEOPTS+=" EPREFIX=${EPREFIX}" + + default +} + +pkg_postinst() { + # New version -> regen files + # See bug #816303 for rationale behind die + build-docbook-catalog || die "Failed to regenerate docbook catalog." +} |