summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-07-03 07:34:27 +0000
committerTim Harder <radhermit@gentoo.org>2011-07-03 07:34:27 +0000
commit8880b1af435ae542ee28f4270099a4c47fd2d69c (patch)
treefab24e22161ba6473fa880a6949a3cc4f65605c5 /media-libs/libpgf/libpgf-6.11.24.ebuild
parentStable on amd64 wrt bug #373681 (diff)
downloadgentoo-2-8880b1af435ae542ee28f4270099a4c47fd2d69c.tar.gz
gentoo-2-8880b1af435ae542ee28f4270099a4c47fd2d69c.tar.bz2
gentoo-2-8880b1af435ae542ee28f4270099a4c47fd2d69c.zip
Version bump (bug #373857). Update to EAPI 4 and add static-libs USE flag.
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libpgf/libpgf-6.11.24.ebuild')
-rw-r--r--media-libs/libpgf/libpgf-6.11.24.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/media-libs/libpgf/libpgf-6.11.24.ebuild b/media-libs/libpgf/libpgf-6.11.24.ebuild
new file mode 100644
index 000000000000..8ae4348a9618
--- /dev/null
+++ b/media-libs/libpgf/libpgf-6.11.24.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpgf/libpgf-6.11.24.ebuild,v 1.1 2011/07/03 07:34:27 radhermit Exp $
+
+EAPI=4
+inherit autotools
+
+DESCRIPTION="Library to load, handle and manipulate images in the PGF format"
+HOMEPAGE="http://www.libpgf.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc static-libs"
+
+RDEPEND=""
+DEPEND="doc? ( app-doc/doxygen )
+ app-arch/unzip"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ if ! use doc; then
+ sed -i -e "/HAS_DOXYGEN/{N;N;d}" Makefile.am || die
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -delete || die
+}