diff options
Diffstat (limited to 'app-text/build-docbook-catalog')
-rw-r--r-- | app-text/build-docbook-catalog/Manifest | 3 | ||||
-rw-r--r-- | app-text/build-docbook-catalog/build-docbook-catalog-1.21.ebuild | 34 | ||||
-rw-r--r-- | app-text/build-docbook-catalog/metadata.xml | 5 |
3 files changed, 42 insertions, 0 deletions
diff --git a/app-text/build-docbook-catalog/Manifest b/app-text/build-docbook-catalog/Manifest new file mode 100644 index 000000000000..d7d10571e22b --- /dev/null +++ b/app-text/build-docbook-catalog/Manifest @@ -0,0 +1,3 @@ +DIST build-docbook-catalog-1.21.tar.xz 4620 BLAKE2B ed4aa645a5bb8e168c291c05891a2359114c9148a81588d93542528a0c74828a1824dc98a14468e8ba65525edf5aae8c936f29190d54063064cd54e2af8dbc3c SHA512 0becc1bae100101b072c62bee844157151336aebc39a046030c8b7b501e13f1b3552097b244ac51339abd2e724304f4fe728861b7d5f070c26973998936861bc +EBUILD build-docbook-catalog-1.21.ebuild 1089 BLAKE2B b987992b70a158e6c339de604d65365e1e9f98397c3a84d5222c94412ed9ade8829509791ff42c7150720df96958c3d764494f778a3dabb5dc94d85efc676635 SHA512 b84b885a7e21d66d9f24874e13fbb439e61cde2c705e702af77e1fd52bfc69f4604db8e2c3bc783aead874994348fdbdb1f50d8e53f4c2cb694a7ee865be2de7 +MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/app-text/build-docbook-catalog/build-docbook-catalog-1.21.ebuild b/app-text/build-docbook-catalog/build-docbook-catalog-1.21.ebuild new file mode 100644 index 000000000000..7b232a82be1c --- /dev/null +++ b/app-text/build-docbook-catalog/build-docbook-catalog-1.21.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="DocBook XML catalog auto-updater" +HOMEPAGE="https://sources.gentoo.org/gentoo-src/build-docbook-catalog/" +SRC_URI="mirror://gentoo/${P}.tar.xz + https://dev.gentoo.org/~haubi/distfiles/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="|| ( sys-apps/util-linux app-misc/getopt ) + !<app-text/docbook-xsl-stylesheets-1.73.1 + dev-libs/libxml2" +DEPEND="" + +pkg_setup() { + # export for bug #490754 + export MAKEOPTS+=" EPREFIX=${EPREFIX}" +} + +src_prepare() { + 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 +} + +pkg_postinst() { + # New version -> regen files + build-docbook-catalog +} diff --git a/app-text/build-docbook-catalog/metadata.xml b/app-text/build-docbook-catalog/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-text/build-docbook-catalog/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> |