diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2005-06-06 22:44:36 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2005-06-06 22:44:36 +0000 |
commit | ca4ce29b217189ed4175cf4b4b79a63895e46387 (patch) | |
tree | 0c998623267e0c6483d50d85e6039f79d93a96e0 /net-print/foomatic-db/foomatic-db-20050606.ebuild | |
parent | mark 1.7.0a stable, remove old versions (diff) | |
download | gentoo-2-ca4ce29b217189ed4175cf4b4b79a63895e46387.tar.gz gentoo-2-ca4ce29b217189ed4175cf4b4b79a63895e46387.tar.bz2 gentoo-2-ca4ce29b217189ed4175cf4b4b79a63895e46387.zip |
version bump
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-print/foomatic-db/foomatic-db-20050606.ebuild')
-rw-r--r-- | net-print/foomatic-db/foomatic-db-20050606.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/net-print/foomatic-db/foomatic-db-20050606.ebuild b/net-print/foomatic-db/foomatic-db-20050606.ebuild new file mode 100644 index 000000000000..c40a2d0c471b --- /dev/null +++ b/net-print/foomatic-db/foomatic-db-20050606.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-db/foomatic-db-20050606.ebuild,v 1.1 2005/06/06 22:42:16 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 ~ia64 ~mips ~ppc64" +IUSE="cups ppds" + +DEPEND="dev-libs/libxml2 + net-misc/wget + net-misc/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 +} |