summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-print/foomatic-db-engine')
-rw-r--r--net-print/foomatic-db-engine/ChangeLog14
-rw-r--r--net-print/foomatic-db-engine/foomatic-db-engine-4.0.8.ebuild55
-rw-r--r--net-print/foomatic-db-engine/metadata.xml2
3 files changed, 68 insertions, 3 deletions
diff --git a/net-print/foomatic-db-engine/ChangeLog b/net-print/foomatic-db-engine/ChangeLog
index c86f10d889de..5091bd7a3c15 100644
--- a/net-print/foomatic-db-engine/ChangeLog
+++ b/net-print/foomatic-db-engine/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for net-print/foomatic-db-engine
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-db-engine/ChangeLog,v 1.46 2011/05/06 16:03:31 jlec Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-db-engine/ChangeLog,v 1.47 2012/01/17 13:34:45 jlec Exp $
+
+ 17 Jan 2012; Justin Lecher <jlec@gentoo.org>
+ +foomatic-db-engine-4.0.8.ebuild, metadata.xml:
+ Version Bump
+
+*foomatic-db-engine-4.0.8 (17 Jan 2012)
+
+ 17 Jan 2012; Justin Lecher <jlec@gentoo.org>
+ +foomatic-db-engine-4.0.8.ebuild, metadata.xml:
+ Version Bump
*foomatic-db-engine-4.0.7 (06 May 2011)
diff --git a/net-print/foomatic-db-engine/foomatic-db-engine-4.0.8.ebuild b/net-print/foomatic-db-engine/foomatic-db-engine-4.0.8.ebuild
new file mode 100644
index 000000000000..360a5ade7b6a
--- /dev/null
+++ b/net-print/foomatic-db-engine/foomatic-db-engine-4.0.8.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-db-engine/foomatic-db-engine-4.0.8.ebuild,v 1.1 2012/01/17 13:34:45 jlec Exp $
+
+EAPI="2"
+
+inherit eutils perl-app versionator
+
+DESCRIPTION="Generates ppds out of xml foomatic printer description files"
+HOMEPAGE="http://www.linuxprinting.org/foomatic.html"
+SRC_URI="http://www.openprinting.org/download/foomatic/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="
+ dev-libs/libxml2
+ net-print/foomatic-filters"
+PDEPEND="net-print/foomatic-db"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/4.0.7-perl-module.patch \
+ "${FILESDIR}"/4.0.7-respect-ldflag.patch
+ sed -i -e "s:@LIB_CUPS@:$(cups-config --serverbin):" "${S}"/Makefile.in
+}
+
+src_configure() {
+ default
+ emake defaults || die "emake defaults failed"
+
+ cd lib
+ perl-app_src_configure
+}
+
+src_compile() {
+ emake || die "emake failed"
+
+ cd lib
+ perl-app_src_compile
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ cd lib
+ perl-module_src_install
+}
+
+src_test() {
+ cd lib
+ perl-module_src_test
+}
diff --git a/net-print/foomatic-db-engine/metadata.xml b/net-print/foomatic-db-engine/metadata.xml
index 1fa0ca569505..e450ba260ec9 100644
--- a/net-print/foomatic-db-engine/metadata.xml
+++ b/net-print/foomatic-db-engine/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>printing</herd>
+ <herd>printing</herd>
</pkgmetadata>