/[gentoo-x86]/app-doc/gimp-help/gimp-help-0.11-r2.ebuild
Gentoo

Contents of /app-doc/gimp-help/gimp-help-0.11-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Sep 13 05:50:18 2007 UTC (12 years, 4 months ago) by leonardop
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Pruning old ebuilds
(Portage version: 2.1.3.9)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-doc/gimp-help/gimp-help-0.11-r2.ebuild,v 1.1 2007/01/27 08:41:31 pva Exp $
4
5 inherit autotools
6
7 MY_P=${P/gimp-help/gimp-help-2}
8 S=${WORKDIR}/${MY_P}
9
10 DESCRIPTION="GNU Image Manipulation Program help files"
11 HOMEPAGE="http://docs.gimp.org/"
12 SRC_URI="mirror://gimp/help/${MY_P}.tar.gz"
13
14 LICENSE="FDL-1.2"
15 SLOT="2"
16 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
17
18 IUSE="webinstall linguas_cs linguas_de linguas_en linguas_es linguas_fr linguas_hr linguas_it linguas_ko linguas_nl linguas_no linguas_ru linguas_sv linguas_zh_CN"
19 DEPEND="=app-text/docbook-xml-dtd-4.3*
20 dev-libs/libxml2
21 dev-libs/libxslt
22 webinstall? ( media-gfx/imagemagick )"
23 RDEPEND="!<media-gfx/gimp-2.2.12"
24
25 src_unpack() {
26 unpack ${A}
27 cd "${S}"
28
29 epatch "${FILESDIR}"/gimp-help-2.0.11-image-honour-ALL_LINGUAS.patch
30 eautomake
31 }
32
33 src_compile() {
34 local ALL_LINGUAS=""
35
36 use linguas_cs && ALL_LINGUAS="${ALL_LINGUAS} cs"
37 use linguas_de && ALL_LINGUAS="${ALL_LINGUAS} de"
38 use linguas_en && ALL_LINGUAS="${ALL_LINGUAS} en"
39 use linguas_es && ALL_LINGUAS="${ALL_LINGUAS} es"
40 use linguas_fr && ALL_LINGUAS="${ALL_LINGUAS} fr"
41 use linguas_hr && ALL_LINGUAS="${ALL_LINGUAS} hr"
42 use linguas_it && ALL_LINGUAS="${ALL_LINGUAS} it"
43 use linguas_ko && ALL_LINGUAS="${ALL_LINGUAS} ko"
44 use linguas_nl && ALL_LINGUAS="${ALL_LINGUAS} nl"
45 use linguas_no && ALL_LINGUAS="${ALL_LINGUAS} no"
46 use linguas_ru && ALL_LINGUAS="${ALL_LINGUAS} ru"
47 use linguas_sv && ALL_LINGUAS="${ALL_LINGUAS} sv"
48 use linguas_zh_CN && ALL_LINGUAS="${ALL_LINGUAS} zh_CN"
49
50 ALL_LINGUAS=${ALL_LINGUAS} \
51 econf \
52 --without-gimp \
53 $(use_enable webinstall convert) \
54 || die "econf failed"
55
56 # not parallel make safe (#137192)
57 emake -j1 || die "emake failed"
58 }
59
60 src_install() {
61 make DESTDIR="${D}" install || die "make install failed"
62
63 dodoc AUTHORS ChangeLog HACKING NEWS README TERMINOLOGY TODO
64 }

  ViewVC Help
Powered by ViewVC 1.1.20