diff options
author | Leonardo Boshell <leonardop@gentoo.org> | 2002-08-01 05:35:01 +0000 |
---|---|---|
committer | Leonardo Boshell <leonardop@gentoo.org> | 2002-08-01 05:35:01 +0000 |
commit | 2d5d499d93fcc52f54f026b04c639fbd6c515248 (patch) | |
tree | e35e8dded495d2f942fdc973869ba1e7d2ec58a7 /app-text/gtranslator/gtranslator-0.43.ebuild | |
parent | repoman'd (diff) | |
download | gentoo-2-2d5d499d93fcc52f54f026b04c639fbd6c515248.tar.gz gentoo-2-2d5d499d93fcc52f54f026b04c639fbd6c515248.tar.bz2 gentoo-2-2d5d499d93fcc52f54f026b04c639fbd6c515248.zip |
new version
Diffstat (limited to 'app-text/gtranslator/gtranslator-0.43.ebuild')
-rw-r--r-- | app-text/gtranslator/gtranslator-0.43.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/app-text/gtranslator/gtranslator-0.43.ebuild b/app-text/gtranslator/gtranslator-0.43.ebuild new file mode 100644 index 000000000000..b4541730b279 --- /dev/null +++ b/app-text/gtranslator/gtranslator-0.43.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/gtranslator/gtranslator-0.43.ebuild,v 1.1 2002/08/01 05:35:01 leonardop Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="A gettext po file editor for GNOME" +SRC_URI="http://www.gtranslator.org/download/releases/${PV}/${P}.tar.gz" +HOMEPAGE="http://www.gtranslator.org/" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" + +DEPEND=">=gnome-base/gnome-libs-1.2 + ( >=gnome-base/gconf-1.0 + <gnome-base/gconf-1.1 ) + >=gnome-extra/gal-0.11.99 + >=app-text/scrollkeeper-0.1.4 + =dev-libs/glib-1.2* + =x11-libs/gtk+-1.2* + >=gnome-base/oaf-0.6.8 + >=gnome-base/ORBit-0.5.14 + ( >=gnome-base/gnome-vfs-1.0.5 + <gnome-base/gnome-vfs-2.0.0 ) + >=dev-libs/libxml-1.8.17" + +RDEPEND="nls? ( sys-devel/gettext )" + +src_compile() { + local myopts + + use nls || myopts="--disable-nls" + + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + ${myopts} || die "./configure failed" + + emake || die +} + +src_install() { + cd ${S}/help/C + + mv Makefile Makefile.orig + sed -e 's:scrollkeeper-update.*::g' Makefile.orig > Makefile + rm Makefile.orig + + cd ${S} + + make DESTDIR=${D} install || die + + dodoc ABOUT-NLS AUTHORS Changelog COPYING HACKING INSTALL NEWS README \ + THANKS TODO DEPENDS +} + +pkg_postinst() { + echo ">>> Updating Scrollkeeper database..." + scrollkeeper-update >/dev/null 2>&1 +} + +pkg_postrm() { + echo ">>> Updating Scrollkeeper database..." + scrollkeeper-update >/dev/null 2>&1 +} |