app-text/libebook: 0.1.3 version bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 7 Jan 2018 09:55:41 +0000 (10:55 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 7 Jan 2018 09:55:41 +0000 (10:55 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-text/libebook/Manifest
app-text/libebook/libebook-0.1.3.ebuild [new file with mode: 0644]

index 4c6c58851a10900aeb1160908b2944ace34240d9..b9dc46f930d02d75c22594be029540bddad9b49b 100644 (file)
@@ -1 +1,2 @@
 DIST libe-book-0.1.2.tar.bz2 465922 BLAKE2B 11898cb34d41a6abbf256ed8a7ff44006f239616987ca5883a8a611041bcda2cce221acc00c57cd36d94f8c26510889df3206ca4f071c23ae272262938e2c396 SHA512 82982874f9c0f5e400166e9367a4b6017cf11bbd69e2e79240137385a5d68ddea08f13676f8c5d0e983f441de17cda9f4b5f7c90c5cb3515e319de638edf3a38
+DIST libe-book-0.1.3.tar.bz2 510498 BLAKE2B e29f9f80a85210447494af20cf30ce7f231ef43f40af9683df7f63e172f5ff8d944d74b995b5850856b2736044b1a5a1ac386262e52a48575325339224a1d339 SHA512 9afa2949f702a34fd6278145ce8d18d504326ed5a103bbc872d0493fcf3e2166d41d094bb0d74b80aa913ca6d082f5bd3259799a4a3c7359331ccdfa1e029a21
diff --git a/app-text/libebook/libebook-0.1.3.ebuild b/app-text/libebook/libebook-0.1.3.ebuild
new file mode 100644 (file)
index 0000000..4458a48
--- /dev/null
@@ -0,0 +1,54 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="libe-book"
+MY_P="${MY_PN}-${PV}"
+
+inherit autotools
+
+DESCRIPTION="Library parsing various ebook formats"
+HOMEPAGE="http://www.sourceforge.net/projects/libebook/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="doc test tools"
+
+RDEPEND="
+       dev-libs/icu:=
+       dev-libs/librevenge
+       dev-libs/libxml2
+       sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+       dev-libs/boost
+       dev-util/gperf
+       virtual/pkgconfig
+       doc? ( app-doc/doxygen )
+       test? ( dev-util/cppunit )
+"
+RDEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               --disable-static \
+               --disable-werror \
+               $(use_with doc docs) \
+               $(use_enable test tests) \
+               $(use_with tools)
+}
+
+src_install() {
+       default
+       find "${D}" -name '*.la' -delete || die
+}