diff options
author | 2006-06-01 22:08:36 +0000 | |
---|---|---|
committer | 2006-06-01 22:08:36 +0000 | |
commit | 921fb668789fbfbb157a2b5c844042522aba2d5c (patch) | |
tree | bbb3087f48fec8bf1066d4337d10f5b2e5510653 /net-print/foomatic-db/foomatic-db-20060601.ebuild | |
parent | Stable on alpha and amd64 wrt security Bug #130487. (diff) | |
download | gentoo-2-921fb668789fbfbb157a2b5c844042522aba2d5c.tar.gz gentoo-2-921fb668789fbfbb157a2b5c844042522aba2d5c.tar.bz2 gentoo-2-921fb668789fbfbb157a2b5c844042522aba2d5c.zip |
New version, bug 135124, thanks to Thomas Stein <himbeere@meine-oma.de>
(Portage version: 2.1_rc3-r4)
Diffstat (limited to 'net-print/foomatic-db/foomatic-db-20060601.ebuild')
-rw-r--r-- | net-print/foomatic-db/foomatic-db-20060601.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/net-print/foomatic-db/foomatic-db-20060601.ebuild b/net-print/foomatic-db/foomatic-db-20060601.ebuild new file mode 100644 index 000000000000..8faf5b73a451 --- /dev/null +++ b/net-print/foomatic-db/foomatic-db-20060601.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-db/foomatic-db-20060601.ebuild,v 1.1 2006/06/01 22:08:36 genstef Exp $ + +DESCRIPTION="Foomatic printer database" +HOMEPAGE="http://www.linuxprinting.org/foomatic.html" +SRC_URI="http://gentooexperimental.org/~genstef/dist/${PN}-3.0-${PV}.tar.gz + ppds? ( http://gentooexperimental.org/~genstef/dist/foomatic-filters-ppds-${PV}.tar.gz )" +# http://linuxprinting.org/download/foomatic + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="ppds" + +RDEPEND="net-print/foomatic-filters + net-print/foomatic-db-engine" + +src_compile() { + econf || die "econf failed" + + if use ppds ; then + cd ../foomatic-filters-ppds-${PV} + rm -f $(find . -name "*gimp-print*") + rm -f $(find . -name "*hpijs*") + # conflicts with foomatic-filters + rm -f bin/{foomatic-gswrapper,foomatic-rip} + rm -f share/man/man1/{foomatic-gswrapper,foomatic-rip}.1 + fi +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" + chmod -R go-w,a-x,a+X ${D}/usr/share/foomatic/db/ + + if use ppds ; then + cd ../foomatic-filters-ppds-${PV} + ./install -d ${D} -p /usr -z || die "ppds install failed" + fi + # we do not want multiple ppds + rm -r ${D}/usr/share/foomatic/db/source/PPD/Kyocera/{de,es,fr,it,pt} +} |