# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/intltool/intltool-0.31.ebuild,v 1.13 2004/06/29 02:28:31 tgall Exp $ inherit gnome.org eutils DESCRIPTION="Scripts for extracting translatable strings from various sourcefiles" HOMEPAGE="http://www.gnome.org/" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ppc sparc mips alpha arm hppa amd64 ia64 ppc64" IUSE="" DEPEND=">=dev-lang/perl-5.6.0" RDEPEND="dev-perl/XML-Parser ${DEPEND}" src_unpack() { unpack ${A} cd ${S} # add missing install script epatch ${FILESDIR}/${P}-install.patch # fix install sed -i -e "s:../mkinstalldirs:/mkinstalldirs:" Makefile.in doc/Makefile.in doc-i18n-tool/Makefile.in } src_compile() { econf || die "configure failed" emake || die "compile failed" } src_install() { cd ${S} einstall || die "installation failed" dodoc AUTHORS ChangeLog NEWS README TODO INSTALL doc/I18N-HOWTO }