summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-09-26 19:23:35 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-09-26 19:23:35 +0000
commit409e9e418b26494f00553929eb300330a9b66ee8 (patch)
tree003fca22c72e6a09253997823e4b453c1bcc299d /net-print/lprng
parentversion bump (diff)
downloadhistorical-409e9e418b26494f00553929eb300330a9b66ee8.tar.gz
historical-409e9e418b26494f00553929eb300330a9b66ee8.tar.bz2
historical-409e9e418b26494f00553929eb300330a9b66ee8.zip
version bump
Diffstat (limited to 'net-print/lprng')
-rw-r--r--net-print/lprng/Manifest4
-rw-r--r--net-print/lprng/files/digest-lprng-3.8.221
-rw-r--r--net-print/lprng/lprng-3.8.22.ebuild72
3 files changed, 75 insertions, 2 deletions
diff --git a/net-print/lprng/Manifest b/net-print/lprng/Manifest
index 380854b6394f..c4f78f7cbff6 100644
--- a/net-print/lprng/Manifest
+++ b/net-print/lprng/Manifest
@@ -1,8 +1,8 @@
MD5 718bd4fe826a965c10c8c198f7408a1e lprng-3.8.12-r1.ebuild 1625
-MD5 fffbf0032b07a8b26a8393426fc99b31 lprng-3.8.22.ebuild 1708
+MD5 e6051ed5a7f946ca577ddc66b61232c0 lprng-3.8.22.ebuild 1708
MD5 ab6fe76e5a95061f7dc8de0cd63268df lprng-3.8.10.ebuild 1513
MD5 fffbf0032b07a8b26a8393426fc99b31 lprng-3.8.21.ebuild 1708
-MD5 9ade35787a3455034ff37c7f5150af2c ChangeLog 1713
+MD5 d24632948b923cf0416195ea40a696ab ChangeLog 1713
MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
MD5 81d7207e23542afec09113c7fec29310 files/lprng-3.8.12-psbanner.patch 324
MD5 5b7344445f7af9c2f85ee41d2c43cef7 files/digest-lprng-3.8.10 62
diff --git a/net-print/lprng/files/digest-lprng-3.8.22 b/net-print/lprng/files/digest-lprng-3.8.22
new file mode 100644
index 000000000000..a0c27436cc3c
--- /dev/null
+++ b/net-print/lprng/files/digest-lprng-3.8.22
@@ -0,0 +1 @@
+MD5 ac7742d87433ea6908517ddb3b8a648a LPRng-3.8.22.tgz 15792576
diff --git a/net-print/lprng/lprng-3.8.22.ebuild b/net-print/lprng/lprng-3.8.22.ebuild
new file mode 100644
index 000000000000..9068f7d5f533
--- /dev/null
+++ b/net-print/lprng/lprng-3.8.22.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/lprng/lprng-3.8.22.ebuild,v 1.1 2003/09/26 19:23:30 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
+}