summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-07-09 13:46:12 +0200
committerPacho Ramos <pacho@gentoo.org>2016-07-09 15:39:54 +0200
commit5982879d8591fef65d15dd424468d89e3979f4f7 (patch)
treed11c66621c0648d36c56a9628c502d879f7692a2 /app-text/libspectre/libspectre-0.2.8.ebuild
parentapp-text/libspectre: Drop old (diff)
downloadgentoo-5982879d8591fef65d15dd424468d89e3979f4f7.tar.gz
gentoo-5982879d8591fef65d15dd424468d89e3979f4f7.tar.bz2
gentoo-5982879d8591fef65d15dd424468d89e3979f4f7.zip
app-text/libspectre: Version bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-text/libspectre/libspectre-0.2.8.ebuild')
-rw-r--r--app-text/libspectre/libspectre-0.2.8.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/app-text/libspectre/libspectre-0.2.8.ebuild b/app-text/libspectre/libspectre-0.2.8.ebuild
new file mode 100644
index 00000000000..4b52741f127
--- /dev/null
+++ b/app-text/libspectre/libspectre-0.2.8.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="A library for rendering Postscript documents"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/libspectre"
+SRC_URI="https://libspectre.freedesktop.org/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x64-solaris"
+IUSE="debug doc static-libs"
+
+RDEPEND=">=app-text/ghostscript-gpl-8.62"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+"
+
+# does not actually test anything, see bug 362557
+RESTRICT="test"
+
+src_prepare() {
+ default
+ eapply "${FILESDIR}"/${PN}-0.2.0-interix.patch
+ eautoreconf # need new libtool for interix
+}
+
+src_configure() {
+ econf \
+ $(use_enable debug asserts) \
+ $(use_enable debug checks) \
+ $(use_enable static-libs static) \
+ --disable-test
+}
+
+src_compile() {
+ emake
+ if use doc; then
+ doxygen || die
+ fi
+}
+
+src_install() {
+ default
+ use doc && dohtml -r doc/html/*
+ prune_libtool_files
+}