Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 297337 | Differences between
and this patch

Collapse All | Expand All

(-)gutenprint-5.2.3.ebuild.orig (-17 / +14 lines)
Lines 1-15 Link Here
1
# Copyright 1999-2009 Gentoo Foundation
1
# Copyright 1999-2010 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/gutenprint-5.2.3.ebuild,v 1.2 2009/12/26 17:43:20 pva Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/gutenprint-5.2.3.ebuild,v 1.2 2009/12/26 17:43:20 pva Exp $
4
4
5
inherit autotools flag-o-matic eutils multilib
5
inherit autotools flag-o-matic eutils multilib
6
6
7
IUSE="cups foomaticdb gimp gtk readline ppds"
8
9
DESCRIPTION="Ghostscript and cups printer drivers"
7
DESCRIPTION="Ghostscript and cups printer drivers"
10
HOMEPAGE="http://gutenprint.sourceforge.net"
8
HOMEPAGE="http://gutenprint.sourceforge.net"
11
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
12
SRC_URI="mirror://sourceforge/gimp-print/${P}.tar.bz2"
9
SRC_URI="mirror://sourceforge/gimp-print/${P}.tar.bz2"
10
11
LICENSE="GPL-2"
12
SLOT="0"
13
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
14
IUSE="cups foomaticdb gimp gtk readline ppds"
13
RESTRICT="test"
15
RESTRICT="test"
14
16
15
RDEPEND="cups? ( >=net-print/cups-1.1.14 )
17
RDEPEND="cups? ( >=net-print/cups-1.1.14 )
Lines 22-30 Link Here
22
DEPEND="${RDEPEND}
24
DEPEND="${RDEPEND}
23
	gtk? ( dev-util/pkgconfig )"
25
	gtk? ( dev-util/pkgconfig )"
24
26
25
LICENSE="GPL-2"
26
SLOT="0"
27
28
src_unpack() {
27
src_unpack() {
29
	unpack ${A}
28
	unpack ${A}
30
	cd "${S}"
29
	cd "${S}"
Lines 58-85 Link Here
58
57
59
	econf \
58
	econf \
60
		--enable-test \
59
		--enable-test \
61
		--enable-epson \
62
		--with-ghostscript \
60
		--with-ghostscript \
63
		--with-user-guide \
61
		--enable-samples \
64
		--with-samples \
62
		--enable-escputil \
65
		--with-escputil \
66
		--disable-translated-cups-ppds \
63
		--disable-translated-cups-ppds \
67
		--enable-nls \
64
		--enable-nls \
68
		$(use_with readline) \
65
		$(use_with readline) \
69
		$(use_with gimp gimp2) \
66
		$(use_with gimp gimp2) \
70
		$(use_with gimp gimp2-as-gutenprint) \
67
		$(use_with gimp gimp2-as-gutenprint) \
71
		$(use_with cups) \
68
		$(use_with cups) \
72
		${myconf} || die "econf failed"
69
		${myconf} || die
73
70
74
	emake || die "emake failed"
71
	emake || die
75
}
72
}
76
73
77
src_install () {
74
src_install () {
78
	emake DESTDIR="${D}" install || die "emake install failed"
75
	emake DESTDIR="${D}" install || die
79
76
80
	dodoc AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt}
77
	dodoc \
81
	dohtml doc/FAQ.html
78
		AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} || die
82
	dohtml -r doc/users_guide/html doc/developer/developer-html
79
	dohtml doc/FAQ.html || die
83
	rm -fR "${D}"/usr/share/gutenprint/doc
80
	rm -fR "${D}"/usr/share/gutenprint/doc
84
	if ! use gtk && ! use gimp; then
81
	if ! use gtk && ! use gimp; then
85
		rm -f "${D}"/usr/$(get_libdir)/pkgconfig/gutenprintui2.pc
82
		rm -f "${D}"/usr/$(get_libdir)/pkgconfig/gutenprintui2.pc

Return to bug 297337