diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2003-11-25 18:40:24 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2003-11-25 18:40:24 +0000 |
commit | 9c4d3a96f2b97b0a8e7e20069dcfb87c427782c7 (patch) | |
tree | 5d601abeb678435b4908d960c9e5481eb92befe7 /net-print | |
parent | bump (diff) | |
download | gentoo-2-9c4d3a96f2b97b0a8e7e20069dcfb87c427782c7.tar.gz gentoo-2-9c4d3a96f2b97b0a8e7e20069dcfb87c427782c7.tar.bz2 gentoo-2-9c4d3a96f2b97b0a8e7e20069dcfb87c427782c7.zip |
bump
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/hpijs/ChangeLog | 5 | ||||
-rw-r--r-- | net-print/hpijs/Manifest | 4 | ||||
-rw-r--r-- | net-print/hpijs/files/digest-hpijs-1.5 | 2 | ||||
-rw-r--r-- | net-print/hpijs/hpijs-1.5.ebuild | 72 |
4 files changed, 80 insertions, 3 deletions
diff --git a/net-print/hpijs/ChangeLog b/net-print/hpijs/ChangeLog index 9b7de6f78d05..c7af55cc3f7b 100644 --- a/net-print/hpijs/ChangeLog +++ b/net-print/hpijs/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-print/hpijs # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/hpijs/ChangeLog,v 1.15 2003/10/30 15:00:54 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/hpijs/ChangeLog,v 1.16 2003/11/25 18:40:18 lanius Exp $ + + 25 Nov 2003; Heinrich Wendel <lanius@gentoo.org> : + bump 30 Oct 2003; Heinrich Wendel <lanius@gentoo.org> hpijs-1.4.1.ebuild: bug #32097 diff --git a/net-print/hpijs/Manifest b/net-print/hpijs/Manifest index f893faa4a7a6..13ade11028b0 100644 --- a/net-print/hpijs/Manifest +++ b/net-print/hpijs/Manifest @@ -1,6 +1,6 @@ -MD5 8e2d551f161dd5c0b65d4d1ee7ffe031 hpijs-1.5.ebuild 2093 +MD5 7cdd8d83b8fbc057a1a94f1abef5457f hpijs-1.5.ebuild 2097 MD5 1b78c9755845c50ea5367d850d01ffda hpijs-1.4.1.ebuild 2067 -MD5 35fc8ec0c3bbed46592cec224b9c0ada ChangeLog 1871 +MD5 adc94675f9274d3179c92f2ef97aba49 ChangeLog 1932 MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161 MD5 153b11771cdc5889cbe726925c862292 files/hpijs-1.4.1-rss.1.patch 6182 MD5 9eb7c84d396d9a290a23086489dc1a2c files/digest-hpijs-1.4.1 137 diff --git a/net-print/hpijs/files/digest-hpijs-1.5 b/net-print/hpijs/files/digest-hpijs-1.5 new file mode 100644 index 000000000000..f0318b540e41 --- /dev/null +++ b/net-print/hpijs/files/digest-hpijs-1.5 @@ -0,0 +1,2 @@ +MD5 348bbc20f42b9d7dae4b08590649098b hpijs-1.5.tar.gz 1141804 +MD5 c2b71819a1cf92755a11efb5584d6fcc foomatic-db-hpijs-1.5-20031125.tar.gz 85469 diff --git a/net-print/hpijs/hpijs-1.5.ebuild b/net-print/hpijs/hpijs-1.5.ebuild new file mode 100644 index 000000000000..cc37de5576e9 --- /dev/null +++ b/net-print/hpijs/hpijs-1.5.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/hpijs/hpijs-1.5.ebuild,v 1.1 2003/11/25 18:40:19 lanius Exp $ + +inherit gnuconfig + +DB_V=${PV}-20031125 +DESCRIPTION="The HP Inkjet server for Ghostscript. Provides best output for HP Inkjet Printers and some LaserJets" +HOMEPAGE="http://hpinkjet.sourceforge.net" +KEYWORDS="~x86 ~ppc ~alpha ~sparc ~hppa ~amd64" +SRC_URI="mirror://sourceforge/hpinkjet/${P}.tar.gz + http://www.linuxprinting.org/download/foomatic/foomatic-db-hpijs-${DB_V}.tar.gz" +DEPEND="app-text/ghostscript + cups? ( net-print/cups ) + net-print/foomatic-filters + foomaticdb? ( net-print/foomatic-db-engine )" +LICENSE="BSD" +SLOT="0" +IUSE="cups foomaticdb ppds" + +src_compile () { + use amd64 && gnuconfig_update + + use ppds \ + && myconf="--enable-foomatic-install" \ + || myconf="--disable-foomatic-install" + + epatch ${FILESDIR}/hpijs-1.4.1-rss.1.patch + + econf --disable-cups-install ${myconf} + + for i in Makefile; do + mv $i $i.orig ; + cat $i.orig | \ + sed -e 's|/usr/share/cups|${prefix}/share/cups|g' | sed -e 's|/usr/lib/cups|${prefix}/lib/cups|g' > $i + done + + make || die "compile problem" + + if [ `use foomaticdb` ]; then + cd ../foomatic-db-hpijs-${DB_V} + econf + rm -fR data-generators/hpijs-rss + make || die + cd ../${P} + fi +} + +src_install () { + einstall || die + + if [ "`use cups`" -a "`use ppds`" ] ; then + dodir /usr/share/cups/model + dosym /usr/share/ppd /usr/share/cups/model/foomatic-ppds + fi + + use ppds && rm -f ${D}/usr/bin/foomatic-rip + + if [ `use foomaticdb` ]; then + cd ../foomatic-db-hpijs-${DB_V} + make DESTDIR=${D} install || die + fi +} + +pkg_postinst () { + einfo "To use the hpijs driver with the PDQ spooler you will need the PDQ driver file" + einfo "for your printer from http://www.linuxprinting.org/show_driver.cgi?driver=hpijs" + einfo "This file should be installed in /etc/pdq/drivers" + einfo + einfo "The hpijs ebuild no longer creates the ppds automatically, please use foomatic" + einfo "to do so or remerge hpijs with the ppds use flag." +} |