blob: c3775eb590288a748fc5bac4f2fd920cb0d54370 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-print/LPRng/LPRng-3.6.19-r1.ebuild,v 1.1 2000/08/13 12:10:49 achim Exp $
P=LPRng-3.6.19
A=${P}.tgz
S=${WORKDIR}/${P}
CATEGORY="net-print"
DESCRIPTION="Extended implementation of the Berkley LPR print spooler"
SRC_URI="ftp://ftp.astart.com/pub/LPRng/LPRng/"${A}
HOMEPAGE="http://www.astart.com/LPRng/LPRng.html"
src_unpack() {
unpack ${A}
cd ${S}/po
rm Makefile.in.in
cp /usr/share/gettext/po/Makefile.in.in .
rm -rf ${S}/intl
}
src_compile() {
cd ${S}
./configure --host=${CHOST} --prefix=/usr --sysconfdir=/etc/lprng \
--enable-nls --with-catgets --with-included-gettext
make
}
src_install() {
cd ${S}
make INSTALL_PREFIX=${D} datadir=${D}/usr/share gnulocaledir=${D}/usr/share/locale install
prepman
rm -rf ${D}/usr/share/locale
MOPREFIX=LPRng
domo po/fr.po
cp ${O}/files/lprng ${D}/etc/rc.d/init.d/lprng
cd ${S}
dodoc ABOUT-NLS.LPRng CHANGES CONTRIBUTORS COPYRIGHT LICENSE LINK README* UPDATE VERSION
dodoc HOWTO/*.txt HOWTO/*.ppt
docinto html
dodoc HOWTO/*.html HOWTO/*.gif
}
|