diff options
Diffstat (limited to 'media-gfx/sfftobmp/sfftobmp-3.1.2-r1.ebuild')
-rw-r--r-- | media-gfx/sfftobmp/sfftobmp-3.1.2-r1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/media-gfx/sfftobmp/sfftobmp-3.1.2-r1.ebuild b/media-gfx/sfftobmp/sfftobmp-3.1.2-r1.ebuild new file mode 100644 index 000000000000..c29caa1997b3 --- /dev/null +++ b/media-gfx/sfftobmp/sfftobmp-3.1.2-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils flag-o-matic + +MY_P=${PN}${PV//./_} + +DESCRIPTION="sff to bmp converter" +HOMEPAGE="http://sfftools.sourceforge.net/" +SRC_URI="mirror://sourceforge/sfftools/${MY_P}_src.zip" + +LICENSE="HPND MIT" +SLOT="0" +KEYWORDS="amd64 ~hppa ppc x86" +IUSE="" + +RDEPEND=">=dev-libs/boost-1.49 + media-libs/tiff:0 + virtual/jpeg:0" +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-3.1.1-gcc44-and-boost-1_37.patch \ + "${FILESDIR}"/${PN}-3.1.2-boost_fs3.patch + append-cppflags -DBOOST_FILESYSTEM_VERSION=3 + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install + dodoc doc/{changes,credits,readme} +} |