/[gentoo-x86]/media-gfx/imageworsener/imageworsener-0.9.4.ebuild
Gentoo

Contents of /media-gfx/imageworsener/imageworsener-0.9.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Nov 6 18:38:12 2011 UTC (2 years, 8 months ago) by sping
Branch: MAIN
Changes since 1.1: +2 -2 lines
media-gfx/imageworsener: Fix underlinking (bug #369693)

(Portage version: 2.1.10.32/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/imageworsener/imageworsener-0.9.4.ebuild,v 1.1 2011/09/02 22:00:02 sping Exp $
4
5 EAPI="2"
6
7 inherit toolchain-funcs
8
9 MY_P="${PN}-src-${PV}"
10 MY_PN="imagew"
11
12 DESCRIPTION="Utility for image scaling and processing"
13 HOMEPAGE="http://entropymine.com/imageworsener/"
14 SRC_URI="http://entropymine.com/${PN}/${MY_P}.tar.gz"
15
16 LICENSE="GPL-3"
17 SLOT="0"
18 KEYWORDS="~amd64 ~x86"
19 IUSE=""
20
21 DEPEND="media-libs/libpng:0
22 virtual/jpeg
23 media-libs/libwebp"
24 RDEPEND="${DEPEND}"
25
26 src_compile() {
27 $(tc-getCC) ${LDFLAGS} ${CFLAGS} "${S}/src/"*.c -lpng -ljpeg -lwebp -lm -lz -o \
28 ${MY_PN} || die "Compile failed."
29 }
30
31 src_install() {
32 dobin ${MY_PN} || die "dobin failed."
33 dodoc readme.txt technical.txt changelog.txt || die
34 }
35
36 src_test() {
37 cd "${S}/tests" || die
38 ./runtest "${S}/${MY_PN}"
39 }

  ViewVC Help
Powered by ViewVC 1.1.20