Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 252030
Collapse All | Expand All

(-)xpp-1.5.ebuild.orig (-10 / +18 lines)
Lines 1-23 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/xpp/xpp-1.5.ebuild,v 1.9 2009/12/16 18:00:44 flameeyes Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-print/xpp/xpp-1.5.ebuild,v 1.9 2009/12/16 18:00:44 flameeyes Exp $
4
4
5
EAPI="1"
5
EAPI="1"
6
inherit eutils
6
7
inherit autotools eutils
8
9
WANT_AUTOMAKE="1.4"
7
10
8
DESCRIPTION="X Printing Panel"
11
DESCRIPTION="X Printing Panel"
9
SRC_URI="mirror://sourceforge/cups/${P}.tar.gz"
10
HOMEPAGE="http://cups.sourceforge.net/xpp/"
12
HOMEPAGE="http://cups.sourceforge.net/xpp/"
13
SRC_URI="mirror://sourceforge/cups/${P}.tar.gz"
11
14
15
LICENSE="GPL-2"
16
SLOT="0"
12
KEYWORDS="x86 amd64 ~ppc"
17
KEYWORDS="x86 amd64 ~ppc"
13
IUSE=""
18
IUSE=""
14
SLOT="0"
15
LICENSE="GPL-2"
16
19
17
DEPEND=">=net-print/cups-1.1.14
20
DEPEND="net-print/cups
18
	x11-libs/fltk:1.1
21
	x11-libs/fltk:1.1
19
	media-libs/jpeg
22
	media-libs/jpeg
20
	media-libs/libpng
23
	media-libs/libpng
24
	sys-devel/automake:1.4
21
	sys-libs/zlib
25
	sys-libs/zlib
22
	x11-libs/libX11
26
	x11-libs/libX11
23
	x11-libs/libXext
27
	x11-libs/libXext
Lines 26-33 Link Here
26
src_unpack() {
30
src_unpack() {
27
	unpack ${A}
31
	unpack ${A}
28
	cd "${S}"
32
	cd "${S}"
33
29
	epatch "${FILESDIR}"/xpp-gcc4.patch \
34
	epatch "${FILESDIR}"/xpp-gcc4.patch \
30
		"${FILESDIR}"/xpp-glibc-2.10.patch
35
		"${FILESDIR}"/xpp-glibc-2.10.patch
36
	sed -i -e '/$(STRIP) .*/d' Makefile.am || die
37
38
	eautomake || die
31
}
39
}
32
40
33
src_compile() {
41
src_compile() {
Lines 35-47 Link Here
35
	export LDFLAGS="-L/usr/lib/fltk-1.1 -lfltk"
43
	export LDFLAGS="-L/usr/lib/fltk-1.1 -lfltk"
36
	export CPPFLAGS="-I/usr/include/fltk-1.1"
44
	export CPPFLAGS="-I/usr/include/fltk-1.1"
37
45
38
	econf || die "configure failed"
46
	econf || die
39
47
40
	# bug #297200
48
	# bug #297200
41
	emake -j1 || die "make failed"
49
	emake -j1 || die
42
}
50
}
43
51
44
src_install() {
52
src_install() {
45
	einstall || die "make install failed"
53
	einstall || die
46
	dodoc ChangeLog README
54
	dodoc ChangeLog README || die
47
}
55
}

Return to bug 252030