diff options
Diffstat (limited to 'app-doc/gimp-help/gimp-help-2.4.0.ebuild')
-rw-r--r-- | app-doc/gimp-help/gimp-help-2.4.0.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/app-doc/gimp-help/gimp-help-2.4.0.ebuild b/app-doc/gimp-help/gimp-help-2.4.0.ebuild new file mode 100644 index 000000000000..2bee2d56f9f6 --- /dev/null +++ b/app-doc/gimp-help/gimp-help-2.4.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-doc/gimp-help/gimp-help-2.4.0.ebuild,v 1.1 2008/01/06 00:49:09 pva Exp $ + +inherit eutils autotools + +DESCRIPTION="GNU Image Manipulation Program help files" +HOMEPAGE="http://docs.gimp.org/" +SRC_URI="mirror://gimp/help/${P}.tar.bz2" + +LICENSE="FDL-1.2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" + +IUSE="" + +# Only *not* outdated translations (see, configure.ac) are listed. +# On update do not forgive to check quickreference/Makefile.am for +# QUICKREFERENCE_ALL_LINGUAS. LANGS should include that langs too. +LANGS="de en es fr it ko nl no ru sv" + +for X in ${LANGS} ; do + IUSE="${IUSE} linguas_${X}" +done + +DEPEND="=app-text/docbook-xml-dtd-4.3* + dev-libs/libxml2 + dev-libs/libxslt" +RDEPEND="=media-gfx/gimp-2.4*" + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}"/${P}-skip-linguas-images.patch + epatch "${FILESDIR}"/${P}-quickreference-linguas.patch + eautoreconf +} + +src_compile() { + local ALL_LINGUAS="" + + for X in ${LANGS} ; do + use linguas_${X} && ALL_LINGUAS="${ALL_LINGUAS} ${X}" + done + + ALL_LINGUAS=${ALL_LINGUAS} \ + econf \ + --without-gimp \ + --disable-network \ + || die "econf failed" + + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + dodoc AUTHORS ChangeLog HACKING NEWS README TERMINOLOGY +} |