/[gentoo-x86]/media-gfx/sfftobmp/sfftobmp-3.1.1.ebuild
Gentoo

Contents of /media-gfx/sfftobmp/sfftobmp-3.1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Thu Aug 4 10:09:35 2011 UTC (3 years, 1 month ago) by hwoarang
Branch: MAIN
Changes since 1.6: +4 -3 lines
Apply patch to build against new boost releases. bug #362913

(Portage version: 2.2.0_alpha46/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/sfftobmp/sfftobmp-3.1.1.ebuild,v 1.6 2010/11/08 23:02:47 maekke Exp $
4
5 EAPI=2
6 inherit autotools eutils flag-o-matic
7
8 MY_P=${PN}${PV//./_}
9
10 DESCRIPTION="sff to bmp converter"
11 HOMEPAGE="http://sfftools.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/sfftools/${MY_P}.zip"
13
14 LICENSE="as-is"
15 SLOT="0"
16 KEYWORDS="amd64 ~hppa ppc x86"
17 IUSE=""
18
19 RDEPEND="dev-libs/boost
20 media-libs/tiff
21 virtual/jpeg"
22 DEPEND="${RDEPEND}
23 app-arch/unzip"
24
25 S=${WORKDIR}/${MY_P}
26
27 src_prepare() {
28 append-flags -DBOOST_FILESYSTEM_VERSION=2
29 epatch "${FILESDIR}"/${P}-gcc43-and-cerrno.patch \
30 "${FILESDIR}"/${P}-gcc44-and-boost-1_37.patch
31 eautoreconf
32 }
33
34 src_install() {
35 emake DESTDIR="${D}" install || die "emake install failed"
36 dodoc doc/{changes,credits,readme}
37 }

  ViewVC Help
Powered by ViewVC 1.1.20