summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-10-17 12:50:22 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-10-17 12:50:22 +0000
commit89bec4f33eb364c6bb29a412eb3482d65b1a8402 (patch)
tree214c7975e6ce388844450f225ba7493072ad341b /net-print
parentchangelog:P (diff)
downloadgentoo-2-89bec4f33eb364c6bb29a412eb3482d65b1a8402.tar.gz
gentoo-2-89bec4f33eb364c6bb29a412eb3482d65b1a8402.tar.bz2
gentoo-2-89bec4f33eb364c6bb29a412eb3482d65b1a8402.zip
cleanups
Diffstat (limited to 'net-print')
-rw-r--r--net-print/foomatic/ChangeLog6
-rw-r--r--net-print/foomatic/Manifest6
-rw-r--r--net-print/foomatic/files/digest-foomatic-2.0.01
-rw-r--r--net-print/foomatic/foomatic-2.0.0.ebuild48
-rw-r--r--net-print/foomatic/foomatic-2.0.2.ebuild4
-rw-r--r--net-print/hpijs/ChangeLog6
-rw-r--r--net-print/hpijs/Manifest14
-rw-r--r--net-print/hpijs/files/digest-hpijs-1.2.21
-rw-r--r--net-print/hpijs/files/digest-hpijs-1.2.2-r12
-rw-r--r--net-print/hpijs/files/digest-hpijs-1.31
-rw-r--r--net-print/hpijs/files/digest-hpijs-1.3.11
-rw-r--r--net-print/hpijs/hpijs-1.2.2-r1.ebuild48
-rw-r--r--net-print/hpijs/hpijs-1.2.2.ebuild40
-rw-r--r--net-print/hpijs/hpijs-1.3.1.ebuild40
-rw-r--r--net-print/hpijs/hpijs-1.3.ebuild40
-rw-r--r--net-print/lprng/Manifest2
-rw-r--r--net-print/lprng/files/digest-lprng-3.8.211
-rw-r--r--net-print/lprng/lprng-3.8.21.ebuild72
18 files changed, 17 insertions, 316 deletions
diff --git a/net-print/foomatic/ChangeLog b/net-print/foomatic/ChangeLog
index 7d794881a5dd..1a7082d276d2 100644
--- a/net-print/foomatic/ChangeLog
+++ b/net-print/foomatic/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-print/foomatic
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic/ChangeLog,v 1.13 2003/07/29 13:19:17 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic/ChangeLog,v 1.14 2003/10/17 12:46:38 lanius Exp $
+
+ 17 Oct 2003; Heinrich Wendel <lanius@gentoo.org> foomatic-2.0.0.ebuild,
+ foomatic-2.0.2.ebuild:
+ cleanups
29 Jul 2003; lanius@gentoo.org foomatic-3.0.0.ebuild:
stable bump
diff --git a/net-print/foomatic/Manifest b/net-print/foomatic/Manifest
index 702ec8ba53f5..33132102a9fe 100644
--- a/net-print/foomatic/Manifest
+++ b/net-print/foomatic/Manifest
@@ -1,9 +1,7 @@
-MD5 869c11c860a5a46adc540b6c3f0abfc1 foomatic-2.0.0.ebuild 1167
+MD5 d0635f2d25b87d9bad109e60710fa3ca ChangeLog 1988
+MD5 6c100182d17f156e3879fb77bca33361 foomatic-2.0.2.ebuild 1177
MD5 71cd9f13701b29a8ac1a59466e1e98ad foomatic-3.0.0.ebuild 674
-MD5 2ee2cb82b7e29fc77eacbab8e5737bed foomatic-2.0.2.ebuild 1180
-MD5 716c32bda4d2068a65331fb7539225a9 ChangeLog 1877
MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
-MD5 046741b15c8760c082192130eb039f7b files/digest-foomatic-2.0.0 66
MD5 6a9b6266c601f3cac0d0e7b58179f7ce files/digest-foomatic-2.0.2 66
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-foomatic-3.0.0 0
MD5 19c39503a125b48caf5e4f2bd956bc61 files/perl-module.diff 722
diff --git a/net-print/foomatic/files/digest-foomatic-2.0.0 b/net-print/foomatic/files/digest-foomatic-2.0.0
deleted file mode 100644
index 426c650019ba..000000000000
--- a/net-print/foomatic/files/digest-foomatic-2.0.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 410aaa40afcb748f549dc5059ef2e98e foomatic-2.0.0.tar.gz 599253
diff --git a/net-print/foomatic/foomatic-2.0.0.ebuild b/net-print/foomatic/foomatic-2.0.0.ebuild
deleted file mode 100644
index 59ab52abcd6e..000000000000
--- a/net-print/foomatic/foomatic-2.0.0.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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/foomatic-2.0.0.ebuild,v 1.12 2003/09/29 12:11:02 lanius Exp $
-
-inherit perl-module
-
-DESCRIPTION="Generates printer configurations automagically"
-HOMEPAGE="http://www.linuxprinting.org/foomatic.html"
-SRC_URI="http://www.linuxprinting.org/download/foomatic/oldstuff/${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc sparc alpha"
-IUSE=""
-
-DEPEND="virtual/glibc
- dev-libs/libxml2
- net-misc/wget
- net-ftp/curl
- samba? ( net-fs/samba )
- cups? ( net-print/cups )"
-
-S="${WORKDIR}/${P}"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- patch -p1 < ${FILESDIR}/perl-module.diff || die "patch failed"
-}
-
-src_compile() {
- econf || die "configure failed"
-
- # Doesn't always build when using emake. It fails consistently on
- # my Athlon when using -j6. (22 Jan 2003 agriffis)
- make || die "make failed"
-}
-
-src_install() {
- make DESTDIR=${D} install || die "make install failed"
-
- # install perl modules
- cd ${S}/lib
- perl-module_src_prep
- perl-module_src_compile
- perl-module_src_test
- perl-module_src_install
-
-}
diff --git a/net-print/foomatic/foomatic-2.0.2.ebuild b/net-print/foomatic/foomatic-2.0.2.ebuild
index a093d9cc2dbc..0497f3b47674 100644
--- a/net-print/foomatic/foomatic-2.0.2.ebuild
+++ b/net-print/foomatic/foomatic-2.0.2.ebuild
@@ -1,6 +1,6 @@
# 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/foomatic-2.0.2.ebuild,v 1.7 2003/09/29 12:11:02 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic/foomatic-2.0.2.ebuild,v 1.8 2003/10/17 12:46:38 lanius Exp $
inherit perl-module
@@ -9,7 +9,7 @@ HOMEPAGE="http://www.linuxprinting.org/foomatic.html"
SRC_URI="http://www.linuxprinting.org/download/foomatic/oldstuff/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc alpha hppa amd64"
+KEYWORDS="x86 ppc sparc alpha hppa amd64"
IUSE=""
DEPEND="virtual/glibc
diff --git a/net-print/hpijs/ChangeLog b/net-print/hpijs/ChangeLog
index 746b72a9f9ac..275403086036 100644
--- a/net-print/hpijs/ChangeLog
+++ b/net-print/hpijs/ChangeLog
@@ -1,6 +1,10 @@
# 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.13 2003/07/29 13:21:07 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/hpijs/ChangeLog,v 1.14 2003/10/17 12:49:35 lanius Exp $
+
+ 17 Oct 2003; Heinrich Wendel <lanius@gentoo.org> hpijs-1.2.2-r1.ebuild,
+ hpijs-1.2.2.ebuild, hpijs-1.3.1.ebuild, hpijs-1.3.ebuild:
+ cleanups
29 Jul 2003; lanius@gentoo.org hpijs-1.4.1.ebuild:
stable bump
diff --git a/net-print/hpijs/Manifest b/net-print/hpijs/Manifest
index 3320dfe49760..e4a499722e9b 100644
--- a/net-print/hpijs/Manifest
+++ b/net-print/hpijs/Manifest
@@ -1,13 +1,5 @@
-MD5 393bea62e6570dba68942e92069c3ceb hpijs-1.3.ebuild 1525
-MD5 94e69a5b23a331af80174d6ef032ac3e hpijs-1.3.1.ebuild 1500
-MD5 f70bb3ce628e7e39a89afcf922e251d7 files/digest-hpijs-1.2.2-r1 130
-MD5 153b11771cdc5889cbe726925c862292 files/hpijs-1.4.1-rss.1.patch 6182
-MD5 87ebdebe7df10e17d9ae4de8eb1cba8f files/digest-hpijs-1.2.2 63
-MD5 c5bec4e1293688a03c0d8a1e93da5bf5 files/digest-hpijs-1.3.1 63
-MD5 9eb7c84d396d9a290a23086489dc1a2c files/digest-hpijs-1.4.1 137
-MD5 c5858503b70f8327b8a5e70507770dcf files/digest-hpijs-1.3 61
+MD5 ebabc6bc17b3684c59a916d4082899c9 ChangeLog 1786
MD5 543ab0bbed0d791a3f488f9c9e5b63fa hpijs-1.4.1.ebuild 2016
-MD5 3e50847e7fde71860cac3a6f0283a0bc hpijs-1.2.2.ebuild 1524
-MD5 b3086288b184ded66428b7bf3cb303fc hpijs-1.2.2-r1.ebuild 1716
-MD5 6a12025d898283820e9abe6acc0d1efa ChangeLog 1640
MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
+MD5 9eb7c84d396d9a290a23086489dc1a2c files/digest-hpijs-1.4.1 137
+MD5 153b11771cdc5889cbe726925c862292 files/hpijs-1.4.1-rss.1.patch 6182
diff --git a/net-print/hpijs/files/digest-hpijs-1.2.2 b/net-print/hpijs/files/digest-hpijs-1.2.2
deleted file mode 100644
index 5de31a18bee4..000000000000
--- a/net-print/hpijs/files/digest-hpijs-1.2.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 5eae1f6ec44dce9a5ca250a18c7e3be6 hpijs-1.2.2.tar.gz 302285
diff --git a/net-print/hpijs/files/digest-hpijs-1.2.2-r1 b/net-print/hpijs/files/digest-hpijs-1.2.2-r1
deleted file mode 100644
index ce60724bc7f5..000000000000
--- a/net-print/hpijs/files/digest-hpijs-1.2.2-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 5eae1f6ec44dce9a5ca250a18c7e3be6 hpijs-1.2.2.tar.gz 302285
-MD5 1f66241e844f3e1ffc3060df9658fb3a hpijs-1.2.2-rss.2.patch 33842
diff --git a/net-print/hpijs/files/digest-hpijs-1.3 b/net-print/hpijs/files/digest-hpijs-1.3
deleted file mode 100644
index 179df983f77b..000000000000
--- a/net-print/hpijs/files/digest-hpijs-1.3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 9d0b79d0fae39f3efc5b8db60f51a8fa hpijs-1.3.tar.gz 353361
diff --git a/net-print/hpijs/files/digest-hpijs-1.3.1 b/net-print/hpijs/files/digest-hpijs-1.3.1
deleted file mode 100644
index b15a6acf3e03..000000000000
--- a/net-print/hpijs/files/digest-hpijs-1.3.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 a2ae6ce240dd40747ea0e3731c549f81 hpijs-1.3.1.tar.gz 408759
diff --git a/net-print/hpijs/hpijs-1.2.2-r1.ebuild b/net-print/hpijs/hpijs-1.2.2-r1.ebuild
deleted file mode 100644
index 801d60ec75be..000000000000
--- a/net-print/hpijs/hpijs-1.2.2-r1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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.2.2-r1.ebuild,v 1.3 2003/09/26 12:26:28 lanius Exp $
-
-# Though this program runs on it's own it makes no sense to run it without ghostscript
-
-RSS_PATCH=${P}-rss.2.patch
-
-S=${WORKDIR}/${P}
-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"
-SRC_URI="mirror://sourceforge/hpinkjet/${P}.tar.gz
- http://www.linuxprinting.org/download/printing/${PN}/${RSS_PATCH}"
-DEPEND="virtual/glibc"
-RDEPEND="${DEPEND} app-text/ghostscript"
-LICENSE="as-is"
-SLOT="0"
-
-src_unpack() {
- unpack ${P}.tar.gz ; cd ${S}
- patch -p1 <${DISTDIR}/${RSS_PATCH} || die
-}
-
-src_compile () {
- econf --host=${CHOST} || die "bad ./configure"
- make || die "compile problem"
-}
-
-src_install () {
- einstall || die
- # fix the doc dir, it needs to have the package revision..
- mv ${D}/usr/share/doc/${P} ${D}/usr/share/doc/${PF}
-}
-
-pkg_postinst () {
- if [ "`use cups`" ] ; then
- einfo "To use the hpijs driver with the cups spooler, you will need the .ppd file"
- einfo "for your printer. You may obtain it from:"
- einfo "http://www.linuxprinting.org/show_driver.cgi?driver=hpijs"
- einfo "Install it in /usr/share/cups/model. After restarting cups you should be"
- einfo "able to use the new driver."
- else
- 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"
- fi
-}
diff --git a/net-print/hpijs/hpijs-1.2.2.ebuild b/net-print/hpijs/hpijs-1.2.2.ebuild
deleted file mode 100644
index dbb57e1aab31..000000000000
--- a/net-print/hpijs/hpijs-1.2.2.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# 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.2.2.ebuild,v 1.4 2003/09/26 12:26:28 lanius Exp $
-
-# Though this program runs on it's own it makes no sense to run it without ghostscript
-
-S=${WORKDIR}/${P}
-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"
-SRC_URI="mirror://sourceforge/hpinkjet/${P}.tar.gz"
-DEPEND="virtual/glibc"
-RDEPEND="${DEPEND} app-text/ghostscript"
-LICENSE="as-is"
-SLOT="0"
-
-src_compile () {
- econf --host=${CHOST} || die "bad ./configure"
- make || die "compile problem"
-}
-
-src_install () {
- einstall || die
- # fix the doc dir, it needs to have the package revision..
- mv ${D}/usr/share/doc/${P} ${D}/usr/share/doc/${PF}
-}
-
-pkg_postinst () {
- if [ "`use cups`" ] ; then
- einfo "To use the hpijs driver with the cups spooler, you will need the .ppd file"
- einfo "for your printer. You may obtain it from:"
- einfo "http://www.linuxprinting.org/show_driver.cgi?driver=hpijs"
- einfo "Install it in /usr/share/cups/model. After restarting cups you should be"
- einfo "able to use the new driver"
- else
- 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"
- fi
-}
diff --git a/net-print/hpijs/hpijs-1.3.1.ebuild b/net-print/hpijs/hpijs-1.3.1.ebuild
deleted file mode 100644
index 3da8efdbacfe..000000000000
--- a/net-print/hpijs/hpijs-1.3.1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# 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.3.1.ebuild,v 1.4 2003/09/26 12:26:28 lanius Exp $
-
-# Though this program runs on it's own it makes no sense to run it without ghostscript
-
-S=${WORKDIR}/${P}
-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"
-SRC_URI="mirror://sourceforge/hpinkjet/${P}.tar.gz"
-DEPEND="virtual/glibc"
-RDEPEND="${DEPEND} app-text/ghostscript"
-LICENSE="as-is"
-SLOT="0"
-
-src_compile () {
- econf
- make || die "compile problem"
-}
-
-src_install () {
- einstall || die
- # fix the doc dir, it needs to have the package revision..
- mv ${D}/usr/share/doc/${P} ${D}/usr/share/doc/${PF}
-}
-
-pkg_postinst () {
- if [ "`use cups`" ] ; then
- einfo "To use the hpijs driver with the cups spooler, you will need the .ppd file"
- einfo "for your printer. You may obtain it from:"
- einfo "http://www.linuxprinting.org/show_driver.cgi?driver=hpijs"
- einfo "Install it in /usr/share/cups/model. After restarting cups you should be"
- einfo "able to use the new driver."
- else
- 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"
- fi
-}
diff --git a/net-print/hpijs/hpijs-1.3.ebuild b/net-print/hpijs/hpijs-1.3.ebuild
deleted file mode 100644
index 87e6d4804c72..000000000000
--- a/net-print/hpijs/hpijs-1.3.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# 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.3.ebuild,v 1.3 2003/09/26 12:26:28 lanius Exp $
-
-# Though this program runs on it's own it makes no sense to run it without ghostscript
-
-S=${WORKDIR}/${P}
-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"
-SRC_URI="mirror://sourceforge/hpinkjet/${P}.tar.gz"
-DEPEND="virtual/glibc"
-RDEPEND="${DEPEND} app-text/ghostscript"
-LICENSE="as-is"
-SLOT="0"
-
-src_compile () {
- econf --host=${CHOST} || die "bad ./configure"
- make || die "compile problem"
-}
-
-src_install () {
- einstall || die
- # fix the doc dir, it needs to have the package revision..
- mv ${D}/usr/share/doc/${P} ${D}/usr/share/doc/${PF}
-}
-
-pkg_postinst () {
- if [ "`use cups`" ] ; then
- einfo "To use the hpijs driver with the cups spooler, you will need the .ppd file"
- einfo "for your printer. You may obtain it from:"
- einfo "http://www.linuxprinting.org/show_driver.cgi?driver=hpijs"
- einfo "Install it in /usr/share/cups/model. After restarting cups you should be"
- einfo "able to use the new driver."
- else
- 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"
- fi
-}
diff --git a/net-print/lprng/Manifest b/net-print/lprng/Manifest
index 22a9f232ab12..42bcf7d5182e 100644
--- a/net-print/lprng/Manifest
+++ b/net-print/lprng/Manifest
@@ -1,10 +1,8 @@
MD5 ab7170d3035fb64a60240fbe6f379086 lprng-3.8.22.ebuild 1883
MD5 718bd4fe826a965c10c8c198f7408a1e lprng-3.8.12-r1.ebuild 1625
-MD5 0e65afa0e8e8a12f3b3e1f562bae51b1 lprng-3.8.21.ebuild 1709
MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
MD5 b76f221bb9981836fe726d3d21d29c52 ChangeLog 1909
MD5 9df0d16a9dbba59d1fa1fb3210b0fdb4 files/digest-lprng-3.8.12-r1 62
-MD5 5e3fee09db4b933051f29a1361a05126 files/digest-lprng-3.8.21 62
MD5 48b66416b1b37d63927e7b2138aa3428 files/lpdomatic 19930
MD5 81d7207e23542afec09113c7fec29310 files/lprng-3.8.12-psbanner.patch 324
MD5 413a0a593f66fed2ec187e0215d323e2 files/lprng-init 1012
diff --git a/net-print/lprng/files/digest-lprng-3.8.21 b/net-print/lprng/files/digest-lprng-3.8.21
deleted file mode 100644
index f5935af399fc..000000000000
--- a/net-print/lprng/files/digest-lprng-3.8.21
+++ /dev/null
@@ -1 +0,0 @@
-MD5 396d0a49a4533ad973176efa9bf054b1 LPRng-3.8.21.tgz 9830808
diff --git a/net-print/lprng/lprng-3.8.21.ebuild b/net-print/lprng/lprng-3.8.21.ebuild
deleted file mode 100644
index 3341242a1950..000000000000
--- a/net-print/lprng/lprng-3.8.21.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/lprng-3.8.21.ebuild,v 1.3 2003/07/25 09:01:37 lanius Exp $
-
-inherit eutils flag-o-matic
-
-IUSE="nls"
-
-MY_PN=LPRng
-
-S=${WORKDIR}/${MY_PN}-${PV}
-DESCRIPTION="Extended implementation of the Berkley LPR print spooler"
-HOMEPAGE="http://www.lprng.com/"
-KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64"
-SRC_URI="ftp://ftp.lprng.com/pub/${MY_PN}/${MY_PN}/${MY_PN}-${PV}.tgz"
-
-PROVIDE="virtual/lpr"
-DEPEND="virtual/glibc nls? ( sys-devel/gettext )"
-RDEPEND="virtual/glibc !virtual/lpr"
-LICENSE="GPL-2 | Artistic"
-SLOT="0"
-
-has_version net-print/foomatic && newdepend ">=net-print/foomatic-3.0.0"
-
-src_unpack() {
- unpack ${A} ; cd ${S}
-}
-
-src_compile() {
- local myconf
- use nls && myconf="--enable-nls"
-
- # wont compile with -O3, needs -O2
- replace-flags -O[3-9] -O2
-
- ./configure \
- --prefix=/usr \
- --disable-setuid \
- --with-userid=lp \
- --with-groupid=lp \
- --libexecdir=/usr/lib \
- --sysconfdir=/etc/lprng \
- --mandir=/usr/share/man \
- --host=${CHOST} ${myconf} || die
-
- make || die "printer on fire!"
-}
-
-src_install() {
- dodir /var/spool/lpd
- diropts -m 700 -o lp -g lp
- dodir /var/spool/lpd/lp
-
- make install \
- DESTDIR=${D} \
- POSTINSTALL="NO" \
- gnulocaledir=${D}/usr/share/locale || die
-
- # now included in foomatic 3.0
- #exeinto /usr/bin
- #doexe ${FILESDIR}/lpdomatic
-
- dodoc CHANGES COPYRIGHT LICENSE README VERSION \
- HOWTO/LPRng-HOWTO.pdf ${FILESDIR}/printcap \
- lpd.conf lpd.perms
- dohtml HOWTO/*
-
- insinto /etc/lprng
- doins ${FILESDIR}/printcap lpd.conf lpd.perms
- exeinto /etc/init.d
- newexe ${FILESDIR}/lprng-init lprng
-}