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

(-)tic98-1.01-r3.ebuild.orig (-8 / +8 lines)
Lines 2-7 Link Here
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/media-gfx/tic98/tic98-1.01-r3.ebuild,v 1.5 2009/07/05 12:24:52 maekke Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-gfx/tic98/tic98-1.01-r3.ebuild,v 1.5 2009/07/05 12:24:52 maekke Exp $
4
4
5
EAPI=4
6
5
inherit eutils
7
inherit eutils
6
8
7
DESCRIPTION="compressor for black-and-white images, in particular scanned documents"
9
DESCRIPTION="compressor for black-and-white images, in particular scanned documents"
Lines 10-16 Link Here
10
12
11
LICENSE="GPL-2"
13
LICENSE="GPL-2"
12
SLOT="0"
14
SLOT="0"
13
KEYWORDS="amd64 x86"
15
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
14
IUSE=""
16
IUSE=""
15
17
16
DEPEND=""
18
DEPEND=""
Lines 19-28 Link Here
19
21
20
S="${WORKDIR}/${PN}"
22
S="${WORKDIR}/${PN}"
21
23
22
src_unpack() {
24
src_prepare() {
23
	unpack ${A}
24
	epatch "${FILESDIR}"/${P}-macos.patch
25
	epatch "${FILESDIR}"/${P}-macos.patch
25
	cd "${S}"
26
	epatch "${FILESDIR}"/${P}-gentoo.diff
26
	epatch "${FILESDIR}"/${P}-gentoo.diff
27
	epatch "${FILESDIR}"/${P}-glibc-2.10.patch
27
	epatch "${FILESDIR}"/${P}-glibc-2.10.patch
28
28
Lines 35-48 Link Here
35
}
35
}
36
36
37
src_compile() {
37
src_compile() {
38
	emake all || die
38
	emake all
39
	emake all2 || die
39
	emake all2
40
}
40
}
41
41
42
src_install() {
42
src_install() {
43
	dodir /usr/bin
43
	dodir /usr/bin
44
	emake BIN="${D}"usr/bin install || die
44
	emake BIN="${ED}"usr/bin install
45
45
46
	# collision with media-gfx/netpbm, see bug #207534
46
	# collision with media-gfx/netpbm, see bug #207534
47
	rm "${D}"/usr/bin/pbmclean || die
47
	rm "${ED}"/usr/bin/pbmclean || die
48
}
48
}

Return to bug 433856