summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-print/foomatic-db-engine/ChangeLog11
-rw-r--r--net-print/foomatic-db-engine/files/digest-foomatic-db-engine-3.0.200705083
-rw-r--r--net-print/foomatic-db-engine/files/perl-module-3.0.20070508.diff27
-rw-r--r--net-print/foomatic-db-engine/foomatic-db-engine-3.0.20060720.ebuild4
-rw-r--r--net-print/foomatic-db-engine/foomatic-db-engine-3.0.20070508.ebuild48
5 files changed, 89 insertions, 4 deletions
diff --git a/net-print/foomatic-db-engine/ChangeLog b/net-print/foomatic-db-engine/ChangeLog
index d2b7cefb29bf..0a443db7886e 100644
--- a/net-print/foomatic-db-engine/ChangeLog
+++ b/net-print/foomatic-db-engine/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-print/foomatic-db-engine
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-db-engine/ChangeLog,v 1.38 2006/12/28 19:03:29 the_paya Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-db-engine/ChangeLog,v 1.39 2007/05/08 11:50:01 calchan Exp $
+
+*foomatic-db-engine-3.0.20070508 (08 May 2007)
+
+ 08 May 2007; Denis Dupeyron <calchan@gentoo.org>
+ +files/perl-module-3.0.20070508.diff,
+ +foomatic-db-engine-3.0.20070508.ebuild:
+ Version bump. Fixed copyright dates.
28 Dec 2006; Javier Villavicencio <the_paya@gentoo.org>
foomatic-db-engine-3.0.20060720.ebuild:
diff --git a/net-print/foomatic-db-engine/files/digest-foomatic-db-engine-3.0.20070508 b/net-print/foomatic-db-engine/files/digest-foomatic-db-engine-3.0.20070508
new file mode 100644
index 000000000000..0b132bd3e07e
--- /dev/null
+++ b/net-print/foomatic-db-engine/files/digest-foomatic-db-engine-3.0.20070508
@@ -0,0 +1,3 @@
+MD5 a1ce474a582a3f4e12d9e0ab43e1f2ce foomatic-db-engine-3.0-20070508.tar.gz 330272
+RMD160 a2881c9178a7a0431567cc9d164dfeb08dc583a9 foomatic-db-engine-3.0-20070508.tar.gz 330272
+SHA256 a7317dd175ee476b4956205d32eee4fd84bba95e9065e04d41179311cc9535d7 foomatic-db-engine-3.0-20070508.tar.gz 330272
diff --git a/net-print/foomatic-db-engine/files/perl-module-3.0.20070508.diff b/net-print/foomatic-db-engine/files/perl-module-3.0.20070508.diff
new file mode 100644
index 000000000000..5b85e0de4998
--- /dev/null
+++ b/net-print/foomatic-db-engine/files/perl-module-3.0.20070508.diff
@@ -0,0 +1,27 @@
+diff -urN foomatic-db-engine-3.0-20070508.orig/Makefile.in foomatic-db-engine-3.0-20070508/Makefile.in
+--- foomatic-db-engine-3.0-20070508.orig/Makefile.in 2007-05-08 09:20:05.000000000 +0200
++++ foomatic-db-engine-3.0-20070508/Makefile.in 2007-05-08 11:21:23.000000000 +0200
+@@ -42,7 +42,7 @@
+ FOOMATIC_RIP=@FOOMATIC_RIP@
+
+ # foomatic-rip path for a "make inplace" installation
+-LOCAL_FOOMATIC_RIP=@LOCAL_FOOMATIC_RIP@
++LOCAL_FOOMATIC_RIP=@FOOMATIC_RIP@
+
+ # Locations for installing the components of this package
+ BINDIR=$(bindir)
+@@ -186,10 +186,10 @@
+ install-bin: check-config lib/Makefile
+ # This is the only way to get the Perl-generated Makefile using
+ # $(DESTDIR) properly
+- ( cd lib && \
+- $(MAKE) PREFIX=$(PERLPREFIX) && \
+- $(MAKE) PREFIX=$(DESTDIR)$(PERLPREFIX) pure_install \
+- )
++# ( cd lib && \
++# $(MAKE) PREFIX=$(PERLPREFIX) && \
++# $(MAKE) PREFIX=$(DESTDIR)$(PERLPREFIX) pure_install \
++# )
+ ${SRC}/mkinstalldirs $(DESTDIR)$(BINDIR)
+ ${SRC}/mkinstalldirs $(DESTDIR)$(SBINDIR)
+ ${SRC}/mkinstalldirs $(DESTDIR)$(ETCDIR)
diff --git a/net-print/foomatic-db-engine/foomatic-db-engine-3.0.20060720.ebuild b/net-print/foomatic-db-engine/foomatic-db-engine-3.0.20060720.ebuild
index 1c56132549af..d15d5b4b8b2c 100644
--- a/net-print/foomatic-db-engine/foomatic-db-engine-3.0.20060720.ebuild
+++ b/net-print/foomatic-db-engine/foomatic-db-engine-3.0.20060720.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 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-3.0.20060720.ebuild,v 1.10 2006/12/28 19:03:29 the_paya Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-db-engine/foomatic-db-engine-3.0.20060720.ebuild,v 1.11 2007/05/08 11:50:01 calchan Exp $
inherit perl-app eutils versionator
diff --git a/net-print/foomatic-db-engine/foomatic-db-engine-3.0.20070508.ebuild b/net-print/foomatic-db-engine/foomatic-db-engine-3.0.20070508.ebuild
new file mode 100644
index 000000000000..1b635a8bb271
--- /dev/null
+++ b/net-print/foomatic-db-engine/foomatic-db-engine-3.0.20070508.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2007 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-3.0.20070508.ebuild,v 1.1 2007/05/08 11:50:01 calchan Exp $
+
+inherit perl-app eutils versionator
+
+MY_P=${PN}-$(replace_version_separator 2 '-')
+DESCRIPTION="Generates ppds out of xml foomatic printer description files"
+HOMEPAGE="http://www.linuxprinting.org/foomatic.html"
+SRC_URI="http://www.linuxprinting.org/download/foomatic/${MY_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"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/perl-module-${PV}.diff
+ sed -i -e "s:@LIB_CUPS@:$(cups-config --serverbin):" Makefile.in
+}
+
+src_compile() {
+ econf || die "econf failed"
+ 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
+}