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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Nov 6 18:38:12 2011 UTC (3 years, 1 month ago) by sping
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +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.2.ebuild,v 1.3 2011/05/24 21:10:49 maekke 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 RDEPEND="${DEPEND}"
24
25 src_compile() {
26 $(tc-getCC) ${LDFLAGS} ${CFLAGS} "${S}/src/"*.c -lpng -ljpeg -lm -lz -o ${MY_PN} \
27 || die "Compile failed."
28 }
29
30 src_install() {
31 dobin ${MY_PN} || die "dobin failed."
32 dodoc readme.txt technical.txt changelog.txt || die
33 }
34
35 src_test() {
36 cd "${S}/tests" || die
37 ./runtest "${S}/${MY_PN}"
38 }

  ViewVC Help
Powered by ViewVC 1.1.20