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

Collapse All | Expand All

(-)sfftobmp-3.0.ebuild (-6 / +4 lines)
Lines 3-20 Link Here
3
# $Header: /var/cvsroot/gentoo-x86/media-gfx/sfftobmp/sfftobmp-3.0.ebuild,v 1.9 2008/01/16 21:27:00 maekke Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-gfx/sfftobmp/sfftobmp-3.0.ebuild,v 1.9 2008/01/16 21:27:00 maekke Exp $
4
4
5
WANT_AUTOMAKE="latest"
5
WANT_AUTOMAKE="latest"
6
WANT_AUTOCONF="latest"
6
WANT_AUTOCONF="latest"
7
7
8
inherit autotools
8
inherit autotools eutils
9
9
10
MY_P=${PN}_${PV/./_}
10
MY_P=${PN}${PV//./_}
11
S=${WORKDIR}/${MY_P}
11
S=${WORKDIR}/${MY_P}
12
12
13
DESCRIPTION="sff to bmp converter"
13
DESCRIPTION="sff to bmp converter"
14
HOMEPAGE="http://sfftools.sourceforge.net/"
14
HOMEPAGE="http://sfftools.sourceforge.net/"
15
SRC_URI="mirror://sourceforge/sfftools/${MY_P}_src.zip"
15
SRC_URI="mirror://sourceforge/sfftools/${MY_P}.zip"
16
16
17
SLOT="0"
17
SLOT="0"
18
IUSE=""
18
IUSE=""
19
LICENSE="as-is"
19
LICENSE="as-is"
20
KEYWORDS="amd64 ~hppa ppc x86"
20
KEYWORDS="amd64 ~hppa ppc x86"
Lines 27-39 Link Here
27
	app-arch/unzip"
27
	app-arch/unzip"
28
28
29
src_unpack() {
29
src_unpack() {
30
	unpack ${A}
30
	unpack ${A}
31
	cd "${S}"
31
	cd "${S}"
32
	sed -i -e "s:#include <iostream>:&\n#include <cerrno>\n:" \
32
	epatch "${FILESDIR}"/${P}-gcc43.patch
33
		src/common.cpp || die
34
35
	eautoreconf
33
	eautoreconf
36
}
34
}
37
35
38
src_install() {
36
src_install() {
39
	make DESTDIR="${D}" install || die
37
	make DESTDIR="${D}" install || die

Return to bug 217722