diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-19 06:33:49 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-19 06:33:49 +0000 |
commit | 78634f348a30a55cc55606ee1ecde032241ceaeb (patch) | |
tree | 528e39df571e37b31bfca1811c69bcc06c4af22f /app-text/xml2doc/xml2doc-20030510-r2.ebuild | |
parent | 434fbe89e81a1fe06d92676be72ab7f862cc3f53 (diff) |
gentoo auto-resync : 19:03:2023 - 06:33:49
Diffstat (limited to 'app-text/xml2doc/xml2doc-20030510-r2.ebuild')
-rw-r--r-- | app-text/xml2doc/xml2doc-20030510-r2.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app-text/xml2doc/xml2doc-20030510-r2.ebuild b/app-text/xml2doc/xml2doc-20030510-r2.ebuild new file mode 100644 index 000000000000..471710170ee3 --- /dev/null +++ b/app-text/xml2doc/xml2doc-20030510-r2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs + +DESCRIPTION="Tool to convert simple XML to a variety of formats (pdf, html, txt, manpage)" +HOMEPAGE="http://xml2doc.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" +S="${WORKDIR}/${PN}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" + +DEPEND="dev-libs/libxml2:2" +RDEPEND="${DEPEND}" + +PATCHES=( + # Fix pointer-related bug detected by a QA notice + "${FILESDIR}"/${PN}-pointer_fix.patch + # Don't strip symbols from binary (bug #152266) + "${FILESDIR}"/${P}-makefile.patch + # Fix GCC 10 -fno-common change + "${FILESDIR}"/${P}-gcc10-no-common.patch +) + +src_prepare() { + default + + # Clang 16, bug #900539 + eautoreconf +} + +src_configure() { + tc-export CC + econf --disable-pdf +} + +src_compile() { + default + + cd doc || die + "${S}"/src/xml2doc -oM manpage.xml xml2doc.1 || die +} + +src_install() { + dobin src/xml2doc + + einstalldocs + docinto examples + dodoc examples/*.{xml,png} + + doman doc/xml2doc.1 +} |