diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-06-04 14:53:45 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-06-04 14:53:45 +0000 |
commit | 53a3bb091514d48d8d2c5799f02c73ff95c4b0a1 (patch) | |
tree | 14bf03a8e47172bd757a3a48a2db129639c35292 /net-print/foomatic-filters | |
parent | updated HOMEPAGE and LICENSE, added default config and html docs. fix for #13... (diff) | |
download | gentoo-2-53a3bb091514d48d8d2c5799f02c73ff95c4b0a1.tar.gz gentoo-2-53a3bb091514d48d8d2c5799f02c73ff95c4b0a1.tar.bz2 gentoo-2-53a3bb091514d48d8d2c5799f02c73ff95c4b0a1.zip |
version bump
(Portage version: 2.1_rc4)
Diffstat (limited to 'net-print/foomatic-filters')
3 files changed, 65 insertions, 1 deletions
diff --git a/net-print/foomatic-filters/ChangeLog b/net-print/foomatic-filters/ChangeLog index 35ae0d5116fc..f1728efa7039 100644 --- a/net-print/foomatic-filters/ChangeLog +++ b/net-print/foomatic-filters/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-print/foomatic-filters # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-filters/ChangeLog,v 1.34 2006/05/09 15:55:02 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-filters/ChangeLog,v 1.35 2006/06/04 14:53:45 genstef Exp $ + +*foomatic-filters-3.0.20060601 (04 Jun 2006) + + 04 Jun 2006; Stefan Schweizer <genstef@gentoo.org> + +foomatic-filters-3.0.20060601.ebuild: + version bump 09 May 2006; Gustavo Zacarias <gustavoz@gentoo.org> foomatic-filters-3.0.2-r1.ebuild: diff --git a/net-print/foomatic-filters/files/digest-foomatic-filters-3.0.20060601 b/net-print/foomatic-filters/files/digest-foomatic-filters-3.0.20060601 new file mode 100644 index 000000000000..9ac90fe5aaf8 --- /dev/null +++ b/net-print/foomatic-filters/files/digest-foomatic-filters-3.0.20060601 @@ -0,0 +1,3 @@ +MD5 056b8634b23e1de327cc9cddc90dd3f4 foomatic-filters-3.0-20060601.tar.gz 164247 +RMD160 3f42c462b20dbee6702999d0dab469a3276325ad foomatic-filters-3.0-20060601.tar.gz 164247 +SHA256 67992a456a6898b79736bc768597c9c035debf45a0dc3217e94c50fccdd5135a foomatic-filters-3.0-20060601.tar.gz 164247 diff --git a/net-print/foomatic-filters/foomatic-filters-3.0.20060601.ebuild b/net-print/foomatic-filters/foomatic-filters-3.0.20060601.ebuild new file mode 100644 index 000000000000..67c356aa1c5f --- /dev/null +++ b/net-print/foomatic-filters/foomatic-filters-3.0.20060601.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-filters/foomatic-filters-3.0.20060601.ebuild,v 1.1 2006/06/04 14:53:45 genstef Exp $ + +inherit eutils versionator autotools + +MY_P=${PN}-$(replace_version_separator 2 '-') +DESCRIPTION="Foomatic wrapper scripts" +HOMEPAGE="http://www.linuxprinting.org/foomatic.html" +SRC_URI="http://gentooexperimental.org/~genstef/dist/${MY_P}.tar.gz" +# http://www.linuxprinting.org/download/foomatic/ + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="cups" + +RDEPEND="cups? ( >=net-print/cups-1.1.19 ) + dev-lang/perl + || ( + app-text/enscript + net-print/cups + app-text/a2ps + app-text/mpage + ) + virtual/ghostscript" +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd ${S} + # Search for libs in ${libdir}, not just /usr/lib + epatch ${FILESDIR}/${P}-multilib.patch + eautoreconf || die "eautoreconf failed" +} + +src_compile() { + export CUPS_BACKENDS=$(cups-config --serverbin)/backend \ + CUPS_FILTERS=$(cups-config --serverbin)/filter CUPS=$(cups-config --serverbin) + econf || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + dosym /usr/bin/foomatic-rip /usr/bin/lpdomatic + + if use cups; then + dosym /usr/bin/foomatic-gswrapper $(cups-config --serverbin)/filter/foomatic-gswrapper + dosym /usr/bin/foomatic-rip $(cups-config --serverbin)/filter/cupsomatic + else + rm -r ${D}/$(cups-config --serverbin)/filter + fi +} |