summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-12-22 17:53:48 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-12-22 17:53:48 +0000
commit13ee0a7c327ffbf5236f23576fd661f67e121f65 (patch)
tree3de2ed3ba1dc040347678e3cf07207634777d4c0 /media-libs/libpgf
parentFixed bug #297749 (diff)
downloadgentoo-2-13ee0a7c327ffbf5236f23576fd661f67e121f65.tar.gz
gentoo-2-13ee0a7c327ffbf5236f23576fd661f67e121f65.tar.bz2
gentoo-2-13ee0a7c327ffbf5236f23576fd661f67e121f65.zip
Initial commit wrt #297914 by Azamat H. Hackimov (This will be required for unbundling media-gfx/digikam libraries).
(Portage version: 2.2_rc60/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libpgf')
-rw-r--r--media-libs/libpgf/ChangeLog11
-rw-r--r--media-libs/libpgf/libpgf-6.09.44.ebuild41
-rw-r--r--media-libs/libpgf/metadata.xml5
3 files changed, 57 insertions, 0 deletions
diff --git a/media-libs/libpgf/ChangeLog b/media-libs/libpgf/ChangeLog
new file mode 100644
index 000000000000..05d8ce3058d5
--- /dev/null
+++ b/media-libs/libpgf/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-libs/libpgf
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpgf/ChangeLog,v 1.1 2009/12/22 17:53:48 ssuominen Exp $
+
+*libpgf-6.09.44 (22 Dec 2009)
+
+ 22 Dec 2009; Samuli Suominen <ssuominen@gentoo.org>
+ +libpgf-6.09.44.ebuild:
+ Initial commit wrt #297914 by Azamat H. Hackimov (This will be required
+ for unbundling media-gfx/digikam libraries).
+
diff --git a/media-libs/libpgf/libpgf-6.09.44.ebuild b/media-libs/libpgf/libpgf-6.09.44.ebuild
new file mode 100644
index 000000000000..9457b542f925
--- /dev/null
+++ b/media-libs/libpgf/libpgf-6.09.44.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpgf/libpgf-6.09.44.ebuild,v 1.1 2009/12/22 17:53:48 ssuominen Exp $
+
+EAPI=2
+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 ~x86"
+IUSE="doc"
+
+RDEPEND=""
+DEPEND="doc? ( app-doc/doxygen )
+ app-arch/unzip"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ if use ! doc; then
+ sed -i \
+ -e "s/\(SUBDIRS = src include\) doc/\1/g" Makefile.am || die
+ fi
+
+ sed -i \
+ -e "s/exec_prefix=@prefix@/exec_prefix=@exec_prefix@/" \
+ -e "s/libdir=@prefix@\/lib/libdir=@libdir@/" \
+ -e "s/includedir=@prefix@\/include/includedir=@includedir@/" \
+ libpgf.pc.in || die
+
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc README
+}
diff --git a/media-libs/libpgf/metadata.xml b/media-libs/libpgf/metadata.xml
new file mode 100644
index 000000000000..9be90a258970
--- /dev/null
+++ b/media-libs/libpgf/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>graphics</herd>
+</pkgmetadata>