You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/sfftobmp/sfftobmp-3.1.2.ebuild

37 lines
859 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/sfftobmp/sfftobmp-3.1.2.ebuild,v 1.8 2013/02/02 19:22:56 ulm Exp $
EAPI=2
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
media-libs/tiff
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
append-flags -DBOOST_FILESYSTEM_VERSION=2
eautoreconf
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc doc/{changes,credits,readme}
}