summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-12-31 13:07:36 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-12-31 13:07:36 +0000
commit6da4c4af45c345d1caf1d0ce8a9030d479e10841 (patch)
tree83bdae6e47e693014406764639ef68b54819dde3 /net-print/foomatic-db
parentversion bump (diff)
downloadhistorical-6da4c4af45c345d1caf1d0ce8a9030d479e10841.tar.gz
historical-6da4c4af45c345d1caf1d0ce8a9030d479e10841.tar.bz2
historical-6da4c4af45c345d1caf1d0ce8a9030d479e10841.zip
version bump
Diffstat (limited to 'net-print/foomatic-db')
-rw-r--r--net-print/foomatic-db/Manifest4
-rw-r--r--net-print/foomatic-db/files/digest-foomatic-db-200312312
-rw-r--r--net-print/foomatic-db/foomatic-db-20031231.ebuild50
3 files changed, 54 insertions, 2 deletions
diff --git a/net-print/foomatic-db/Manifest b/net-print/foomatic-db/Manifest
index 759d5487a06a..a10db62e2508 100644
--- a/net-print/foomatic-db/Manifest
+++ b/net-print/foomatic-db/Manifest
@@ -1,6 +1,6 @@
MD5 6c0ac856a8fa1a56a6b538bfe56af554 foomatic-db-20031018.ebuild 1414
-MD5 6c0ac856a8fa1a56a6b538bfe56af554 foomatic-db-20031231.ebuild 1414
-MD5 0ca4b4f32b831aff100d4a76fec4df33 ChangeLog 1019
+MD5 65d218955698a690912f4d14e5c12106 foomatic-db-20031231.ebuild 1420
+MD5 94dc48cc9492e2b1971b5051e4d80f4c ChangeLog 1154
MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
MD5 e644800833244ddddcba92cf59e39626 foomatic-db-20030716.ebuild 1777
MD5 6ae48bdfda2843beb859270c02d62c34 files/digest-foomatic-db-20030716 148
diff --git a/net-print/foomatic-db/files/digest-foomatic-db-20031231 b/net-print/foomatic-db/files/digest-foomatic-db-20031231
new file mode 100644
index 000000000000..2d8a7c94c626
--- /dev/null
+++ b/net-print/foomatic-db/files/digest-foomatic-db-20031231
@@ -0,0 +1,2 @@
+MD5 64fc6b5de759be6f8b16c52fed54e3a2 foomatic-db-20031231.tar.gz 472630
+MD5 4153b99f942e90a1b631819f1687b200 foomatic-filters-ppds-20031231.tar.gz 2730822
diff --git a/net-print/foomatic-db/foomatic-db-20031231.ebuild b/net-print/foomatic-db/foomatic-db-20031231.ebuild
new file mode 100644
index 000000000000..d96193f1250f
--- /dev/null
+++ b/net-print/foomatic-db/foomatic-db-20031231.ebuild
@@ -0,0 +1,50 @@
+# 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-20031231.ebuild,v 1.1 2003/12/31 13:07:26 lanius Exp $
+
+DESCRIPTION="Foomatic printer database"
+HOMEPAGE="http://www.linuxprinting.org/foomatic"
+SRC_URI="http://www.linuxprinting.org/download/foomatic/${P}.tar.gz
+ ppds? ( http://www.linuxprinting.org/download/foomatic/foomatic-filters-ppds-${PV}.tar.gz )"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64"
+IUSE="cups ppds"
+
+DEPEND="dev-libs/libxml2
+ net-misc/wget
+ net-ftp/curl
+ net-print/foomatic-filters
+ net-print/foomatic-db-engine"
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_compile() {
+ econf || die
+ rm db/source/driver/stp.xml
+
+ if [ "`use ppds`" ]; then
+ cd ../foomatic-filters-ppds-${PV}
+ rm -f `find . -name "*gimp-print*" `
+ rm -f `find . -name "*hpijs*" `
+ fi
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+ chmod -R 644 ${D}/usr/share/foomatic/db/
+ chmod 755 ${D}/usr/share/foomatic/db/
+ chmod 755 ${D}/usr/share/foomatic/db/source
+ chmod 755 ${D}/usr/share/foomatic/db/source/{driver,opt,printer}
+
+ if [ "`use ppds`" ]; then
+ cd ../foomatic-filters-ppds-${PV}
+ ./install -d ${D} -p /usr -z
+ if [ "`use cups`" ]; then
+ dodir /usr/share/cups/model
+ dosym /usr/share/ppd /usr/share/cups/model/foomatic-ppds
+ fi
+ fi
+}