blob: c3c4d71de7ce2ea78e4fa111a45aa64d0970d66c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/icoutils/icoutils-0.29.1-r2.ebuild,v 1.4 2012/07/03 16:19:54 ranger Exp $
EAPI="2"
inherit autotools eutils
DESCRIPTION="A set of programs for extracting and converting images in Microsoft Windows icon and cursor files (.ico, .cur)."
HOMEPAGE="http://www.nongnu.org/icoutils/"
SRC_URI="http://savannah.nongnu.org/download/icoutils/${P}.tar.bz2"
KEYWORDS="amd64 ppc x86"
LICENSE="GPL-2"
SLOT="0"
IUSE="nls"
RDEPEND="media-libs/libpng
nls? ( virtual/libintl )
>=dev-lang/perl-5.6
>=dev-perl/libwww-perl-5.64"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
src_prepare() {
epatch "${FILESDIR}"/${P}-locale.patch
epatch "${FILESDIR}"/${P}-gettext.patch
AT_M4DIR=m4 eautoreconf
}
src_configure() {
econf \
`use_enable nls` \
--disable-dependency-tracking || die
}
src_install() {
emake DESTDIR="${D}" mkinstalldirs="mkdir -p" install || die
dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
}
|