summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2014-03-27 12:19:47 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2014-03-27 12:19:47 +0000
commit100052bdf17729a3bb3b3c1667c3a45a43fd8b03 (patch)
tree3b322513cd5743d883c4d3d5afc23c7e02b4aff3 /media-gfx
parentold (diff)
downloadgentoo-2-100052bdf17729a3bb3b3c1667c3a45a43fd8b03.tar.gz
gentoo-2-100052bdf17729a3bb3b3c1667c3a45a43fd8b03.tar.bz2
gentoo-2-100052bdf17729a3bb3b3c1667c3a45a43fd8b03.zip
USE="static-libs" and let prune_libtool_files to determine if the libtool archive is required.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/imageworsener/imageworsener-1.0.0.ebuild31
1 files changed, 16 insertions, 15 deletions
diff --git a/media-gfx/imageworsener/imageworsener-1.0.0.ebuild b/media-gfx/imageworsener/imageworsener-1.0.0.ebuild
index 54e50b2a100b..1eb3de8be522 100644
--- a/media-gfx/imageworsener/imageworsener-1.0.0.ebuild
+++ b/media-gfx/imageworsener/imageworsener-1.0.0.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/imageworsener/imageworsener-1.0.0.ebuild,v 1.1 2012/11/17 15:00:24 sping Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/imageworsener/imageworsener-1.0.0.ebuild,v 1.2 2014/03/27 12:19:47 ssuominen Exp $
-EAPI="4"
+EAPI=5
inherit eutils
-MY_P="${PN}-src-${PV}"
-MY_PN="imagew"
+MY_P=${PN}-src-${PV}
+MY_PN=imagew
DESCRIPTION="Utility for image scaling and processing"
HOMEPAGE="http://entropymine.com/imageworsener/"
@@ -16,7 +16,7 @@ SRC_URI="http://entropymine.com/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="jpeg png test webp zlib"
+IUSE="jpeg png static-libs test webp zlib"
DEPEND="png? ( media-libs/libpng:0 )
jpeg? ( virtual/jpeg )
@@ -27,23 +27,24 @@ RDEPEND="${DEPEND}"
REQUIRED_USE="test? ( jpeg png webp zlib )"
src_configure() {
- local switch=
+ local switch=''
use test && switch=test
econf \
- $(use_with ${switch} jpeg) \
- $(use_with ${switch} png) \
- $(use_with ${switch} webp) \
- $(use_with ${switch} zlib) \
- || die
+ $(use_enable static-libs static) \
+ $(use_with ${switch} jpeg) \
+ $(use_with ${switch} png) \
+ $(use_with ${switch} webp) \
+ $(use_with ${switch} zlib)
}
src_install() {
default
- dodoc {changelog,readme,technical}.txt || die
+ dodoc {changelog,readme,technical}.txt
+ prune_libtool_files
}
src_test() {
- cd "${S}/tests" || die
- ./runtest "${S}/${MY_PN}"
+ cd "${S}"/tests || die
+ ./runtest "${S}"/${MY_PN}
}