/[gentoo-x86]/net-print/foomatic/foomatic-2.0.2.ebuild
Gentoo

Contents of /net-print/foomatic/foomatic-2.0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Fri Jan 30 18:23:46 2004 UTC (13 years, 11 months ago) by lanius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
remove old version

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/net-print/foomatic/foomatic-2.0.2.ebuild,v 1.8 2003/10/17 12:46:38 lanius Exp $
4
5 inherit perl-module
6
7 DESCRIPTION="Generates printer configurations automagically"
8 HOMEPAGE="http://www.linuxprinting.org/foomatic.html"
9 SRC_URI="http://www.linuxprinting.org/download/foomatic/oldstuff/${P}.tar.gz"
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="x86 ppc sparc alpha hppa amd64"
13 IUSE=""
14
15 DEPEND="virtual/glibc
16 dev-libs/libxml2
17 net-misc/wget
18 net-ftp/curl
19 samba? ( net-fs/samba )
20 cups? ( net-print/cups )"
21
22 S="${WORKDIR}/${P}"
23
24 src_unpack() {
25 unpack ${A}
26 cd ${S}
27 patch -p1 < ${FILESDIR}/perl-module.diff || die "patch failed"
28 }
29
30 src_compile() {
31 econf || die "configure failed"
32
33 # Doesn't always build when using emake. It fails consistently on
34 # my Athlon when using -j6. (22 Jan 2003 agriffis)
35 make || die "make failed"
36 }
37
38 src_install() {
39 make DESTDIR=${D} install || die "make install failed"
40
41 # install perl modules
42 cd ${S}/lib
43 perl-module_src_prep
44 perl-module_src_compile
45 perl-module_src_test
46 perl-module_src_install
47
48 }

  ViewVC Help
Powered by ViewVC 1.1.20