summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild')
-rw-r--r--media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild19
1 files changed, 10 insertions, 9 deletions
diff --git a/media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild b/media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild
index 9801a71ace44..9ab9d1950304 100644
--- a/media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild
+++ b/media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild,v 1.3 2010/10/10 11:57:19 phajdan.jr Exp $
-
-EAPI=2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild,v 1.4 2011/08/13 03:19:23 ssuominen Exp $
+EAPI=4
inherit eutils toolchain-funcs
DESCRIPTION="Convert png images to MS ico format"
@@ -15,11 +14,13 @@ SLOT="0"
KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
-DEPEND="media-libs/libpng"
-RDEPEND="${DEPEND}"
+RDEPEND=">=media-libs/libpng-1.4"
+DEPEND="${RDEPEND}"
src_prepare() {
- epatch "${FILESDIR}/${P}-Makefile.patch"
+ epatch \
+ "${FILESDIR}"/${P}-Makefile.patch \
+ "${FILESDIR}"/${P}-libpng15.patch
}
src_compile() {
@@ -27,6 +28,6 @@ src_compile() {
}
src_install() {
- dobin pngtoico
- doman pngtoico.1
+ dobin ${PN}
+ doman ${PN}.1
}