diff options
author | 2003-03-05 17:22:12 +0000 | |
---|---|---|
committer | 2003-03-05 17:22:12 +0000 | |
commit | 119a7cc7ba0e47145219cce57be7052e88d8dbb7 (patch) | |
tree | 302bd1be6870988b7691ba11b024af164db53d4a /net-print | |
parent | masked >=gimp-print-cups-4.3.10 (diff) | |
download | gentoo-2-119a7cc7ba0e47145219cce57be7052e88d8dbb7.tar.gz gentoo-2-119a7cc7ba0e47145219cce57be7052e88d8dbb7.tar.bz2 gentoo-2-119a7cc7ba0e47145219cce57be7052e88d8dbb7.zip |
new version
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/gimp-print-cups/files/digest-gimp-print-cups-4.3.11 | 1 | ||||
-rw-r--r-- | net-print/gimp-print-cups/gimp-print-cups-4.3.11.ebuild | 71 |
2 files changed, 72 insertions, 0 deletions
diff --git a/net-print/gimp-print-cups/files/digest-gimp-print-cups-4.3.11 b/net-print/gimp-print-cups/files/digest-gimp-print-cups-4.3.11 new file mode 100644 index 000000000000..69f606919a13 --- /dev/null +++ b/net-print/gimp-print-cups/files/digest-gimp-print-cups-4.3.11 @@ -0,0 +1 @@ +MD5 2c5a3b50dffdc126be25f8d97c4b9abd gimp-print-4.3.11.tar.bz2 3925325 diff --git a/net-print/gimp-print-cups/gimp-print-cups-4.3.11.ebuild b/net-print/gimp-print-cups/gimp-print-cups-4.3.11.ebuild new file mode 100644 index 000000000000..22a5166115b9 --- /dev/null +++ b/net-print/gimp-print-cups/gimp-print-cups-4.3.11.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/gimp-print-cups/gimp-print-cups-4.3.11.ebuild,v 1.1 2003/03/05 17:19:09 lordvan Exp $ + +IUSE="nls gtk readline" + +MY_PN=${PN/-cups/} + +DESCRIPTION="The Common Unix Printing System - Gimp Print Drivers" +HOMEPAGE="http://gimp-print.sourceforge.net" +KEYWORDS="~x86 ~ppc" +SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}-${PV}.tar.bz2" + +S=${WORKDIR}/${MY_PN}-${PV} +DEPEND=">=net-print/cups-1.1.18 + >=net-print/foomatic-2.0.2 + media-gfx/imagemagick + sys-libs/readline + sys-devel/perl + gtk? ( =x11-libs/gtk+-1.2* )" + +LICENSE="GPL-2" +SLOT="0" + +src_compile() { + local myconf + use nls \ + && myconf="${myconf} --enable-nls" \ + || myconf="${myconf} --disable-nls" + + use readline \ + && myconf="${myconf} --enable-readline" \ + || myconf="${myconf} --disable-readline" + + use gtk \ + && myconf="${myconf} --enable-lexmarkutil" \ + || myconf="${myconf} --disable-lexmarkutil" + + #--without-translated-ppds \ + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --mandir=/usr/share/man \ + --localstatedir=/var/lib \ + --infodir=/usr/share/info \ + --with-cups \ + --enable-test \ + --with-samples \ + --without-gimp \ + --with-escputil \ + --with-foomatic \ + --with-testpattern \ + --with-user-guide \ + --host=${CHOST} ${myconf} || die "bad ./configure" + + + emake || die "compile problem" +# patch src/main/gimpprint.m4 < ${FILESDIR}/gimpprint.m4.patch || die +} + +src_install () { + make install DESTDIR=${D} || die + + exeinto /usr/share/gimp-print + doexe test/{unprint,pcl-unprint,bjc-unprint,parse-escp2,parse-bjc} + + dodoc AUTHORS COPYING ChangeLog NEWS README \ + doc/gimpprint.ps + dohtml doc/manual-html doc/FAQ.html +} |