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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Nov 17 15:00:24 2012 UTC (16 months, 4 weeks ago) by sping
Branch: MAIN
media-gfx/imageworsener: 1.0.0

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x401A1600)

1 # Copyright 1999-2012 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.10.ebuild,v 1.1 2012/06/16 14:00:44 sping Exp $
4
5 EAPI="4"
6
7 inherit eutils
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="jpeg png test webp zlib"
20
21 DEPEND="png? ( media-libs/libpng:0 )
22 jpeg? ( virtual/jpeg )
23 webp? ( >=media-libs/libwebp-0.1.3 )
24 zlib? ( sys-libs/zlib )"
25 RDEPEND="${DEPEND}"
26
27 REQUIRED_USE="test? ( jpeg png webp zlib )"
28
29 src_configure() {
30 local switch=
31 use test && switch=test
32
33 econf \
34 $(use_with ${switch} jpeg) \
35 $(use_with ${switch} png) \
36 $(use_with ${switch} webp) \
37 $(use_with ${switch} zlib) \
38 || die
39 }
40
41 src_install() {
42 default
43 dodoc {changelog,readme,technical}.txt || die
44 }
45
46 src_test() {
47 cd "${S}/tests" || die
48 ./runtest "${S}/${MY_PN}"
49 }

  ViewVC Help
Powered by ViewVC 1.1.20