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

(-)sfftobmp-3.0.ebuild (-7 / +12 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2006 Gentoo Foundation
1
# Copyright 1999-2006 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/media-gfx/sfftobmp/sfftobmp-3.0.ebuild,v 1.7 2006/08/07 00:15:37 blubb Exp $
3
# $Header: $
4
5
WANT_AUTOCONF="latest"
6
WANT_AUTOMAKE="latest"
7
8
inherit autotools
4
9
5
MY_P=${PN}_${PV/./_}
10
MY_P=${PN}_${PV/./_}
6
S=${WORKDIR}/${MY_P}
11
S=${WORKDIR}/${MY_P}
Lines 14-35 Link Here
14
LICENSE="as-is"
19
LICENSE="as-is"
15
KEYWORDS="amd64 ~hppa ppc x86"
20
KEYWORDS="amd64 ~hppa ppc x86"
16
21
17
RDEPEND="virtual/libc
22
RDEPEND=">=dev-libs/boost-1.31.0
18
	>=dev-libs/boost-1.31.0
19
	media-libs/tiff
23
	media-libs/tiff
20
	media-libs/jpeg"
24
	media-libs/jpeg"
21
25
22
DEPEND="${RDEPEND}
26
DEPEND="${RDEPEND}
23
	>=sys-devel/autoconf-2.59
24
	app-arch/unzip"
27
	app-arch/unzip"
25
28
26
src_unpack() {
29
src_unpack() {
27
	unpack ${A}
30
	unpack ${A}
28
	cd $S
31
	cd "${S}"
29
	sed -i -e "s:#include <iostream>:&\n#include <cerrno>\n:" \
32
	sed -i -e "s:#include <iostream>:&\n#include <cerrno>\n:" \
30
		src/common.cpp || die
33
		src/common.cpp || die
34
	eautoreconf
31
}
35
}
36
32
src_install() {
37
src_install() {
33
	make DESTDIR=${D} install || die
38
	emake DESTDIR="${D}" install || die
34
	dodoc doc/{changes,copying,credits,notes,readme}
39
	dodoc doc/{changes,credits,notes,readme}
35
}
40
}

Return to bug 152550