diff options
Diffstat (limited to 'net-print/foomatic-db/foomatic-db-20031231.ebuild')
-rw-r--r-- | net-print/foomatic-db/foomatic-db-20031231.ebuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net-print/foomatic-db/foomatic-db-20031231.ebuild b/net-print/foomatic-db/foomatic-db-20031231.ebuild index e592835593c0..fd4ea1b641e2 100644 --- a/net-print/foomatic-db/foomatic-db-20031231.ebuild +++ b/net-print/foomatic-db/foomatic-db-20031231.ebuild @@ -1,11 +1,12 @@ # Copyright 1999-2004 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.3 2004/03/02 13:28:04 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-db/foomatic-db-20031231.ebuild,v 1.4 2004/03/29 01:22:43 vapier 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" @@ -13,7 +14,7 @@ IUSE="cups ppds" DEPEND="dev-libs/libxml2 net-misc/wget - net-ftp/curl + net-misc/curl net-print/foomatic-filters net-print/foomatic-db-engine" @@ -25,7 +26,7 @@ src_compile() { econf || die rm db/source/driver/stp.xml - if [ "`use ppds`" ]; then + if use ppds ; then cd ../foomatic-filters-ppds-${PV} rm -f `find . -name "*gimp-print*" ` rm -f `find . -name "*hpijs*" ` @@ -39,10 +40,10 @@ src_install() { chmod 755 ${D}/usr/share/foomatic/db/source chmod 755 ${D}/usr/share/foomatic/db/source/{driver,opt,printer} - if [ "`use ppds`" ]; then + if use ppds ; then cd ../foomatic-filters-ppds-${PV} ./install -d ${D} -p /usr -z - if [ "`use cups`" ]; then + if use cups ; then dodir /usr/share/cups/model dosym /usr/share/ppd /usr/share/cups/model/foomatic-ppds fi |