diff options
Diffstat (limited to 'net-print/foomatic-db')
-rw-r--r-- | net-print/foomatic-db/Manifest | 4 | ||||
-rw-r--r-- | net-print/foomatic-db/files/digest-foomatic-db-20031018 | 2 | ||||
-rw-r--r-- | net-print/foomatic-db/foomatic-db-20031018.ebuild | 46 |
3 files changed, 50 insertions, 2 deletions
diff --git a/net-print/foomatic-db/Manifest b/net-print/foomatic-db/Manifest index abc8e8f32e6b..0e5edce0829a 100644 --- a/net-print/foomatic-db/Manifest +++ b/net-print/foomatic-db/Manifest @@ -1,5 +1,5 @@ -MD5 b35c72a61a879037434a5b0f2893a820 foomatic-db-20031018.ebuild 1049 -MD5 2adbe065298de38bb14af21645f9e330 ChangeLog 513 +MD5 19d75a0e31146012f43bbfe680cb6c7f foomatic-db-20031018.ebuild 1224 +MD5 d8741ed6c67664cdc3b48d51bf2c5830 ChangeLog 574 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-20031018 b/net-print/foomatic-db/files/digest-foomatic-db-20031018 new file mode 100644 index 000000000000..fcf259c46281 --- /dev/null +++ b/net-print/foomatic-db/files/digest-foomatic-db-20031018 @@ -0,0 +1,2 @@ +MD5 5294eb13bd31fc96fe1d19697285379b foomatic-db-20031018.tar.gz 460875 +MD5 cc18de5184c375a13c691922fe7a525d foomatic-filters-ppds-20031018.tar.gz 16583420 diff --git a/net-print/foomatic-db/foomatic-db-20031018.ebuild b/net-print/foomatic-db/foomatic-db-20031018.ebuild new file mode 100644 index 000000000000..d4470f7ee0bd --- /dev/null +++ b/net-print/foomatic-db/foomatic-db-20031018.ebuild @@ -0,0 +1,46 @@ +# 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-20031018.ebuild,v 1.1 2003/10/18 10:54:05 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" + + if [ "`use ppds`" ]; then + cd ../foomatic-filters-ppds-${PV} + ./install -p ${D}/usr -z + if [ "`use cups`" ]; then + dodir /usr/share/cups/model + dosym /usr/share/ppd /usr/share/cups/model/foomatic-ppds + fi + fi +} |