summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2007-04-28 12:51:51 +0000
committerTorsten Veller <tove@gentoo.org>2007-04-28 12:51:51 +0000
commit54a223b01459c1aff1e4fb40e5763e797243205f (patch)
treebc93e1c911f840c8b34593c8184b939d2ead61c5 /net-print/lprng
parentVirtuals have only run-time dependencies. (diff)
downloadgentoo-2-54a223b01459c1aff1e4fb40e5763e797243205f.tar.gz
gentoo-2-54a223b01459c1aff1e4fb40e5763e797243205f.tar.bz2
gentoo-2-54a223b01459c1aff1e4fb40e5763e797243205f.zip
Use newinitd
(Portage version: 2.1.2.5)
Diffstat (limited to 'net-print/lprng')
-rw-r--r--net-print/lprng/ChangeLog5
-rw-r--r--net-print/lprng/lprng-3.8.28.ebuild23
2 files changed, 15 insertions, 13 deletions
diff --git a/net-print/lprng/ChangeLog b/net-print/lprng/ChangeLog
index 16beb6e6215f..d4ac84df1fb6 100644
--- a/net-print/lprng/ChangeLog
+++ b/net-print/lprng/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-print/lprng
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/ChangeLog,v 1.53 2007/04/07 13:19:33 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/ChangeLog,v 1.54 2007/04/28 12:51:51 tove Exp $
+
+ 28 Apr 2007; Torsten Veller <tove@gentoo.org> lprng-3.8.28.ebuild:
+ Use newinitd
07 Apr 2007; Stefan Schweizer <genstef@gentoo.org> lprng-3.8.28.ebuild:
replace net-print/foomatic by component depends in order to deprecate it
diff --git a/net-print/lprng/lprng-3.8.28.ebuild b/net-print/lprng/lprng-3.8.28.ebuild
index 74ff43e0c64d..6448a55bd136 100644
--- a/net-print/lprng/lprng-3.8.28.ebuild
+++ b/net-print/lprng/lprng-3.8.28.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/lprng-3.8.28.ebuild,v 1.15 2007/04/07 13:19:33 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/lprng-3.8.28.ebuild,v 1.16 2007/04/28 12:51:51 tove Exp $
inherit eutils flag-o-matic
@@ -27,11 +27,11 @@ S=${WORKDIR}/${MY_PN}-${PV}
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${PN}-3.8.27-certs.diff
- epatch ${FILESDIR}/${P}-lpq.diff
- epatch ${FILESDIR}/${P}-make.diff
- epatch ${FILESDIR}/${P}-krb.diff
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-3.8.27-certs.diff
+ epatch "${FILESDIR}"/${P}-lpq.diff
+ epatch "${FILESDIR}"/${P}-make.diff
+ epatch "${FILESDIR}"/${P}-krb.diff
}
src_compile() {
@@ -60,18 +60,17 @@ src_install() {
dodir /var/spool/lpd/lp
emake install \
- DESTDIR=${D} \
+ DESTDIR="${D}" \
POSTINSTALL="NO" \
- gnulocaledir=${D}/usr/share/locale || die "emake install failed"
+ gnulocaledir="${D}"/usr/share/locale || die "emake install failed"
- dodoc CHANGES README VERSION ${FILESDIR}/printcap lpd.conf lpd.perms
+ dodoc CHANGES README VERSION "${FILESDIR}"/printcap lpd.conf lpd.perms
dohtml HOWTO/*
insinto /etc/lprng
- doins ${FILESDIR}/printcap lpd.conf lpd.perms
+ doins "${FILESDIR}"/printcap lpd.conf lpd.perms
dosym /etc/lprng/printcap /etc/printcap
- exeinto /etc/init.d
- newexe ${FILESDIR}/lprng-init lprng
+ newinitd "${FILESDIR}"/lprng-init lprng
}
pkg_postinst() {