summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-04-16 20:19:33 +0200
committerDavid Seifert <soap@gentoo.org>2017-04-16 20:40:28 +0200
commit93ba66c4e59ce1a6c95130cb929300c4717f09af (patch)
tree7f3705da0b50bf0504240912d1d29147f37ed9ad /dev-libs/librevenge/librevenge-0.0.4-r1.ebuild
parentmedia-libs/exempi: version bump 2.2.1 → 2.4.2 (diff)
downloadgentoo-93ba66c4e59ce1a6c95130cb929300c4717f09af.tar.gz
gentoo-93ba66c4e59ce1a6c95130cb929300c4717f09af.tar.bz2
gentoo-93ba66c4e59ce1a6c95130cb929300c4717f09af.zip
dev-libs/librevenge: Only DEPEND on dev-libs/boost
Bug: https://bugs.gentoo.org/show_bug.cgi?id=607906 Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-libs/librevenge/librevenge-0.0.4-r1.ebuild')
-rw-r--r--dev-libs/librevenge/librevenge-0.0.4-r1.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/librevenge/librevenge-0.0.4-r1.ebuild b/dev-libs/librevenge/librevenge-0.0.4-r1.ebuild
new file mode 100644
index 000000000000..c00397f0abc3
--- /dev/null
+++ b/dev-libs/librevenge/librevenge-0.0.4-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib-minimal
+
+DESCRIPTION="A helper library for REVerse ENGineered formats filters"
+HOMEPAGE="http://sf.net/p/libwpd/librevenge"
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="git://git.code.sf.net/p/libwpd/librevenge"
+ inherit git-r3 autotools
+ KEYWORDS="hppa ppc64"
+else
+ SRC_URI="http://sf.net/projects/libwpd/files/${PN}/${P}/${P}.tar.xz"
+ KEYWORDS="~alpha amd64 ~arm hppa ~mips ppc64 x86 ~x86-fbsd"
+fi
+
+LICENSE="|| ( MPL-2.0 LGPL-2.1 )"
+SLOT="0"
+IUSE="doc test"
+
+RDEPEND="
+ sys-libs/zlib[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+ doc? ( app-doc/doxygen )
+ test? ( dev-util/cppunit[${MULTILIB_USEDEP}] )
+"
+
+src_prepare() {
+ default
+ [[ ${PV} = 9999 ]] && eautoreconf
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ econf \
+ --disable-static \
+ --disable-werror \
+ $(use_with doc docs) \
+ $(use_enable test tests)
+}
+
+multilib_src_install_all() {
+ find "${D}" -name '*.la' -delete || die
+}