dev-libs/faxpp: EAPI7 revbump, improve ebuild
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Sat, 22 Sep 2018 20:02:53 +0000 (22:02 +0200)
committerAaron Bauman <bman@gentoo.org>
Sat, 9 Feb 2019 20:12:32 +0000 (15:12 -0500)
Closes: https://bugs.gentoo.org/666772
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/9952
Signed-off-by: Aaron Bauman <bman@gentoo.org>
dev-libs/faxpp/faxpp-0.4-r1.ebuild [new file with mode: 0644]

diff --git a/dev-libs/faxpp/faxpp-0.4-r1.ebuild b/dev-libs/faxpp/faxpp-0.4-r1.ebuild
new file mode 100644 (file)
index 0000000..70d50bb
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Small, fast and conformant XML pull parser written in C"
+HOMEPAGE="http://faxpp.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples"
+
+src_install() {
+       default
+
+       if use doc; then
+               docinto html
+               dodoc -r docs/api/
+       fi
+       if use examples; then
+               insinto /usr/share/doc/${PF}
+               doins -r examples
+       fi
+}