diff options
author | Sam James <sam@gentoo.org> | 2022-04-29 09:18:54 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-29 09:18:54 +0100 |
commit | afd3cd5a4eec5b51f559c1a557de2afaf4973b3b (patch) | |
tree | d43f8a1a3d4e8348ad7277b6e6951de734c9c951 /app-text/build-docbook-catalog | |
parent | sys-libs/ncurses: Stabilize 6.3_p20211106 hppa, #841398 (diff) | |
download | gentoo-afd3cd5a4eec5b51f559c1a557de2afaf4973b3b.tar.gz gentoo-afd3cd5a4eec5b51f559c1a557de2afaf4973b3b.tar.bz2 gentoo-afd3cd5a4eec5b51f559c1a557de2afaf4973b3b.zip |
app-text/build-docbook-catalog: add 2.3
Bug: https://bugs.gentoo.org/832032
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/build-docbook-catalog')
-rw-r--r-- | app-text/build-docbook-catalog/Manifest | 1 | ||||
-rw-r--r-- | app-text/build-docbook-catalog/build-docbook-catalog-2.3.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 1be84d940c1f..f00d05a8510d 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.2.tar.bz2 4711 BLAKE2B c93f6c14450e9308dce82724c305846b1635e96470ecb72c240d502b6f7ed360ee013bf40e3cda204e784c034b8a522f6247b3dbc24fe92a9e12d0ca5c28acb7 SHA512 2e6895f8d3564dbef0dc4882448ee5f4457ac01c58be09e2939a364676a52f7d44899cab621101fb4a3161292d15d9df898e076e412ff50fb88d2861ca554b1e +DIST build-docbook-catalog-2.3.tar.bz2 4686 BLAKE2B 3e386d0aec67ed9cada98cacd9bdce4345f8732a1d9653c096744178902036da5cefa2bde1d69279fe2080f660635f5c29380f40f6fb39aa586d80206c5e42b2 SHA512 79649f39f5a432a57e2457f61b73d83c8ccf76144e29b8e44a2c81bb86a00ff711c199fbd126236edfa965518e0cbd023597c97e386211b8c07a6ef66bf232a7 diff --git a/app-text/build-docbook-catalog/build-docbook-catalog-2.3.ebuild b/app-text/build-docbook-catalog/build-docbook-catalog-2.3.ebuild new file mode 100644 index 000000000000..a4684d16c16d --- /dev/null +++ b/app-text/build-docbook-catalog/build-docbook-catalog-2.3.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 ~loong ~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." +} |