summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-07-16 14:45:02 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-07-16 14:45:02 +0000
commit9bb7560d5da289ff1c3cea8c3ab2bfd4348306b3 (patch)
tree6b2c3e8e3495bf260a87316d3b86d0d7a45129f6 /net-print/foomatic-db
parentinitial release (diff)
downloadgentoo-2-9bb7560d5da289ff1c3cea8c3ab2bfd4348306b3.tar.gz
gentoo-2-9bb7560d5da289ff1c3cea8c3ab2bfd4348306b3.tar.bz2
gentoo-2-9bb7560d5da289ff1c3cea8c3ab2bfd4348306b3.zip
initial release
Diffstat (limited to 'net-print/foomatic-db')
-rw-r--r--net-print/foomatic-db/ChangeLog7
-rw-r--r--net-print/foomatic-db/Manifest4
-rw-r--r--net-print/foomatic-db/files/digest-foomatic-db-200307162
-rw-r--r--net-print/foomatic-db/files/perl-module.diff30
-rw-r--r--net-print/foomatic-db/foomatic-db-20030716.ebuild66
5 files changed, 107 insertions, 2 deletions
diff --git a/net-print/foomatic-db/ChangeLog b/net-print/foomatic-db/ChangeLog
new file mode 100644
index 000000000000..f443ff5fe209
--- /dev/null
+++ b/net-print/foomatic-db/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for net-print/foomatic-db
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-db/ChangeLog,v 1.1 2003/07/16 14:44:54 lanius Exp $
+
+ 16 Jul 2003; Heinrich Wendel <lanius@gentoo.org> files/perl-module.diff:
+ initial release
+
diff --git a/net-print/foomatic-db/Manifest b/net-print/foomatic-db/Manifest
index f0f57b65372a..269a38f8e7ae 100644
--- a/net-print/foomatic-db/Manifest
+++ b/net-print/foomatic-db/Manifest
@@ -1,4 +1,4 @@
-MD5 1226b9d21d0d72cc72dab2f1a8bb1c29 foomatic-db-20030716.ebuild 1523
-MD5 1db5e0f02811b9d17fe96712fc1d0492 ChangeLog 224
+MD5 71690a493c31b2530d68eab9ffc5be71 foomatic-db-20030716.ebuild 1635
+MD5 27e46d38f30d3de603ade839493d9df9 ChangeLog 318
MD5 6ae48bdfda2843beb859270c02d62c34 files/digest-foomatic-db-20030716 148
MD5 a61100174a95d158d5ce23eedf1f2cea files/perl-module.diff 1050
diff --git a/net-print/foomatic-db/files/digest-foomatic-db-20030716 b/net-print/foomatic-db/files/digest-foomatic-db-20030716
new file mode 100644
index 000000000000..90db390e91e3
--- /dev/null
+++ b/net-print/foomatic-db/files/digest-foomatic-db-20030716
@@ -0,0 +1,2 @@
+MD5 4aaa4f88b419427209c47e01e0da3ae4 foomatic-db-20030716.tar.gz 440089
+MD5 a3c0b0fc6662a7b9afab09cbe74bb292 foomatic-db-engine-3.0.0.tar.gz 271044
diff --git a/net-print/foomatic-db/files/perl-module.diff b/net-print/foomatic-db/files/perl-module.diff
new file mode 100644
index 000000000000..e0c895f42176
--- /dev/null
+++ b/net-print/foomatic-db/files/perl-module.diff
@@ -0,0 +1,30 @@
+diff -urN Makefile.in.1 Makefile.in
+--- Makefile.in.1 2002-07-19 16:18:47.000000000 -0500
++++ Makefile.in 2002-10-17 13:58:09.000000000 -0500
+@@ -178,10 +178,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=$(DESTDIR)$(PERLPREFIX) && \
+- $(MAKE) PREFIX=$(DESTDIR)$(PERLPREFIX) pure_install \
+- )
++# ( cd lib && \
++# $(MAKE) PREFIX=$(DESTDIR)$(PERLPREFIX) && \
++# $(MAKE) PREFIX=$(DESTDIR)$(PERLPREFIX) pure_install \
++# )
+ install -d $(DESTDIR)$(BINDIR)
+ install -d $(DESTDIR)$(SBINDIR)
+ install -d $(DESTDIR)$(ETCDIR)
+diff -Naur Makefile.in.1 Makefile.in
+--- Makefile.in.1 2003-07-11 16:00:57.000000000 +0200
++++ Makefile.in 2003-07-11 16:01:02.000000000 +0200
+@@ -40,7 +40,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)
diff --git a/net-print/foomatic-db/foomatic-db-20030716.ebuild b/net-print/foomatic-db/foomatic-db-20030716.ebuild
new file mode 100644
index 000000000000..ace086fa3a32
--- /dev/null
+++ b/net-print/foomatic-db/foomatic-db-20030716.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-db/foomatic-db-20030716.ebuild,v 1.1 2003/07/16 14:44:54 lanius Exp $
+
+DESCRIPTION="Foomatic printer database"
+HOMEPAGE="http://www.linuxprinting.org/foomatic"
+SRC_URI="mirror://gentoo/foomatic-db-${PV}.tar.gz
+ http://www.linuxprinting.org/download/foomatic/foomatic-db-engine-3.0.0.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+IUSE="cups ppds"
+
+S=${WORKDIR}/foomatic
+
+DEPEND="dev-libs/libxml2
+ net-misc/wget
+ net-ftp/curl
+ net-print/foomatic-filters
+ net-print/foomatic-db-engine"
+
+src_unpack() {
+ mkdir foomatic
+ cd foomatic
+ unpack foomatic-db-engine-3.0.0.tar.gz
+ unpack foomatic-db-${PV}.tar.gz
+}
+
+src_compile() {
+ cd foomatic-db-${PV}
+ econf
+ emake || die
+ rm db/source/driver/stp.xml
+ cd ..
+
+ if [ `use ppds` ]; then
+ cd foomatic-db-engine-3.0.0
+ epatch ${FILESDIR}/perl-module.diff
+ econf
+ make inplace
+ rm foomatic-rip
+ ln -s /usr/bin/foomatic-rip ./foomatic-rip
+ #./foomatic-cleanupdrivers
+ ./foomatic-preferred-driver
+ make DESTDIR=${D} filters-ppds || die
+ cd ..
+ fi
+}
+
+src_install() {
+ cd foomatic-db-${PV}
+ make DESTDIR=${D} install || die "make install failed"
+
+ if [ `use ppds` ]; then
+ cd ../foomatic-db-engine-3.0.0
+ tar -xzf foomatic-filters-ppds-${PV}.tar.gz
+
+ dodir /usr/share/ppd
+ cp -R foomatic-filters-ppds-${PV}/share/ppd/* ${D}/usr/share/ppd
+ gzip -rf ${D}/usr/share/ppd
+ if [ `use cups` ]; then
+ dodir /usr/share/cups/model
+ dosym /usr/share/ppd /usr/share/cups/model/foomatic-ppds
+ fi
+ fi
+}