You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.1 KiB
52 lines
1.1 KiB
8 years ago
|
# Copyright 1999-2016 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
9 years ago
|
# $Id$
|
||
13 years ago
|
|
||
8 years ago
|
EAPI=6
|
||
13 years ago
|
inherit autotools eutils
|
||
|
|
||
12 years ago
|
DESCRIPTION="A library for rendering Postscript documents"
|
||
8 years ago
|
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libspectre"
|
||
|
SRC_URI="https://libspectre.freedesktop.org/releases/${P}.tar.gz"
|
||
13 years ago
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
8 years ago
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x64-solaris"
|
||
13 years ago
|
IUSE="debug doc static-libs"
|
||
|
|
||
|
RDEPEND=">=app-text/ghostscript-gpl-8.62"
|
||
|
DEPEND="${RDEPEND}
|
||
12 years ago
|
virtual/pkgconfig
|
||
8 years ago
|
doc? ( app-doc/doxygen )
|
||
|
"
|
||
13 years ago
|
|
||
|
# does not actually test anything, see bug 362557
|
||
|
RESTRICT="test"
|
||
|
|
||
|
src_prepare() {
|
||
8 years ago
|
default
|
||
|
eapply "${FILESDIR}"/${PN}-0.2.0-interix.patch
|
||
13 years ago
|
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() {
|
||
12 years ago
|
emake
|
||
13 years ago
|
if use doc; then
|
||
12 years ago
|
doxygen || die
|
||
13 years ago
|
fi
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
12 years ago
|
default
|
||
|
use doc && dohtml -r doc/html/*
|
||
8 years ago
|
prune_libtool_files
|
||
13 years ago
|
}
|