diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-07-20 09:00:59 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-07-20 09:00:59 +0000 |
commit | 6d70337886879eedf80c0c03155c76d5ac6626c4 (patch) | |
tree | 732d2d4d141f3ff49240565e089364d43e0c1ef6 | |
parent | Version bump, adds missing Makefile dependency, bug 138635 thanks to Justace ... (diff) | |
download | gentoo-2-6d70337886879eedf80c0c03155c76d5ac6626c4.tar.gz gentoo-2-6d70337886879eedf80c0c03155c76d5ac6626c4.tar.bz2 gentoo-2-6d70337886879eedf80c0c03155c76d5ac6626c4.zip |
version bump
(Portage version: 2.1.1_pre3-r1)
3 files changed, 66 insertions, 1 deletions
diff --git a/net-print/foomatic-filters/ChangeLog b/net-print/foomatic-filters/ChangeLog index 06bad7d0ba6c..cd40192099ec 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.36 2006/07/13 18:17:51 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-filters/ChangeLog,v 1.37 2006/07/20 09:00:59 genstef Exp $ + +*foomatic-filters-3.0.20060720 (20 Jul 2006) + + 20 Jul 2006; Stefan Schweizer <genstef@gentoo.org> + +foomatic-filters-3.0.20060720.ebuild: + version bump 13 Jul 2006; Aron Griffis <agriffis@gentoo.org> foomatic-filters-3.0.2-r1.ebuild: diff --git a/net-print/foomatic-filters/files/digest-foomatic-filters-3.0.20060720 b/net-print/foomatic-filters/files/digest-foomatic-filters-3.0.20060720 new file mode 100644 index 000000000000..becc6b4dcb20 --- /dev/null +++ b/net-print/foomatic-filters/files/digest-foomatic-filters-3.0.20060720 @@ -0,0 +1,3 @@ +MD5 80521324d0e1710469164d20f814347d foomatic-filters-3.0-20060720.tar.gz 165214 +RMD160 709d1c6717d84620faa129a15c3a791ae9454d45 foomatic-filters-3.0-20060720.tar.gz 165214 +SHA256 56e268077c8ec5cd48fe15bd1af8f87a19536782e8e5a3d2d06d39badcaa3fff foomatic-filters-3.0-20060720.tar.gz 165214 diff --git a/net-print/foomatic-filters/foomatic-filters-3.0.20060720.ebuild b/net-print/foomatic-filters/foomatic-filters-3.0.20060720.ebuild new file mode 100644 index 000000000000..4592d8405102 --- /dev/null +++ b/net-print/foomatic-filters/foomatic-filters-3.0.20060720.ebuild @@ -0,0 +1,56 @@ +# 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.20060720.ebuild,v 1.1 2006/07/20 09:00:59 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/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~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}"/foomatic-filters-3.0.20060601-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 +} |