/[gentoo-x86]/media-gfx/icoutils/icoutils-0.31.0.ebuild
Gentoo

Contents of /media-gfx/icoutils/icoutils-0.31.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Dec 21 16:25:35 2013 UTC (4 years, 7 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Stable for ppc, wrt bug #488338

(Portage version: 2.2.1/cvs/Linux ppc64, RepoMan options: --include-arches="ppc", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/icoutils/icoutils-0.31.0.ebuild,v 1.4 2013/11/21 11:26:57 pinkbyte Exp $
4
5 EAPI=4
6 inherit autotools eutils flag-o-matic
7
8 DESCRIPTION="A set of programs for extracting and converting images in icon and cursor files (.ico, .cur)"
9 HOMEPAGE="http://www.nongnu.org/icoutils/"
10 SRC_URI="mirror://nongnu/${PN}/${P}.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
15 IUSE="nls"
16
17 RDEPEND=">=dev-lang/perl-5.6
18 >=dev-perl/libwww-perl-5.64
19 media-libs/libpng:0
20 sys-libs/zlib
21 nls? ( virtual/libintl )"
22 DEPEND="${RDEPEND}
23 nls? ( sys-devel/gettext )"
24
25 src_prepare() {
26 epatch "${FILESDIR}"/${PN}-0.29.1-{locale,gettext}.patch
27 rm m4/po.m4* || die
28 cp /usr/share/aclocal/po.m4 m4/
29 AT_M4DIR=m4 eautoreconf
30 }
31
32 src_configure() {
33 [[ ${CHOST} != *-linux-gnu* ]] && use nls && append-libs -lintl
34 econf $(use_enable nls)
35 }
36
37 src_install() {
38 emake DESTDIR="${D}" mkinstalldirs="mkdir -p" install
39 dodoc AUTHORS ChangeLog NEWS README TODO
40 }

  ViewVC Help
Powered by ViewVC 1.1.20