summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-10-03 00:05:38 -0400
committerMike Frysinger <vapier@gentoo.org>2021-10-03 00:06:08 -0400
commitd3a44d39bd48d2e1ed7c1a8f8805175cbb1c2a29 (patch)
tree920f895737b3bba8950bcef70472b3ae939205e6 /app-text/build-docbook-catalog
parentdev-perl/Test-UseAllModules: Stabilize 0.170.0-r2 ppc, #815865 (diff)
downloadgentoo-d3a44d39bd48d2e1ed7c1a8f8805175cbb1c2a29.tar.gz
gentoo-d3a44d39bd48d2e1ed7c1a8f8805175cbb1c2a29.tar.bz2
gentoo-d3a44d39bd48d2e1ed7c1a8f8805175cbb1c2a29.zip
app-text/build-docbook-catalog: version bump to 2.0
Closes: https://bugs.gentoo.org/773517 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'app-text/build-docbook-catalog')
-rw-r--r--app-text/build-docbook-catalog/Manifest1
-rw-r--r--app-text/build-docbook-catalog/build-docbook-catalog-2.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/app-text/build-docbook-catalog/Manifest b/app-text/build-docbook-catalog/Manifest
index 66484e06090d..867a78f92de5 100644
--- a/app-text/build-docbook-catalog/Manifest
+++ b/app-text/build-docbook-catalog/Manifest
@@ -1 +1,2 @@
DIST build-docbook-catalog-1.21.tar.xz 4620 BLAKE2B ed4aa645a5bb8e168c291c05891a2359114c9148a81588d93542528a0c74828a1824dc98a14468e8ba65525edf5aae8c936f29190d54063064cd54e2af8dbc3c SHA512 0becc1bae100101b072c62bee844157151336aebc39a046030c8b7b501e13f1b3552097b244ac51339abd2e724304f4fe728861b7d5f070c26973998936861bc
+DIST build-docbook-catalog-2.0.tar.bz2 4653 BLAKE2B 8a2753d68c352063bbf2f385cf321528fea556ecf78687557aceb4b2b84dccd2de2bade39660747254f0cbc5af52658002ba7d34a2798ee75941307395e35a4d SHA512 8a2507570c5785b646365e97dc3c659e5c799eda296716588dc4923c7512a21be1b396d4f79a356c04f10a825b1f4be8b7d7f42389a28b2b64daf75e3a174a4f
diff --git a/app-text/build-docbook-catalog/build-docbook-catalog-2.0.ebuild b/app-text/build-docbook-catalog/build-docbook-catalog-2.0.ebuild
new file mode 100644
index 000000000000..48f66b4d572f
--- /dev/null
+++ b/app-text/build-docbook-catalog/build-docbook-catalog-2.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 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
+ build-docbook-catalog
+}