summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriele Giorgetti <stroke@gentoo.org>2002-06-30 23:39:28 +0000
committerGabriele Giorgetti <stroke@gentoo.org>2002-06-30 23:39:28 +0000
commitba074061818a6d920ef51756c55cd92d658d8acd (patch)
tree3d3c1bed3c2acc70d06fde21ba5d40c9088ca971 /app-text/gtranslator
parentAdded mask for new ebuild CCMSN for testing (diff)
downloadhistorical-ba074061818a6d920ef51756c55cd92d658d8acd.tar.gz
historical-ba074061818a6d920ef51756c55cd92d658d8acd.tar.bz2
historical-ba074061818a6d920ef51756c55cd92d658d8acd.zip
New version.
Diffstat (limited to 'app-text/gtranslator')
-rw-r--r--app-text/gtranslator/ChangeLog6
-rw-r--r--app-text/gtranslator/files/digest-gtranslator-0.421
-rw-r--r--app-text/gtranslator/gtranslator-0.42.ebuild63
3 files changed, 69 insertions, 1 deletions
diff --git a/app-text/gtranslator/ChangeLog b/app-text/gtranslator/ChangeLog
index f5343600d2ae..21c7335e066d 100644
--- a/app-text/gtranslator/ChangeLog
+++ b/app-text/gtranslator/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/gtranslator
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-text/gtranslator/ChangeLog,v 1.1 2002/04/24 20:01:06 spider Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/gtranslator/ChangeLog,v 1.2 2002/06/30 23:39:28 stroke Exp $
+
+*gtranslator-0.42 (01 Jul 2002)
+ 01 Jul 2002; Gabriele Giorgetti <stroke@gentoo.org> ChangeLog gtranslator-0.42.ebuild:
+ New version.
*gtranslator-0.41 (24 Apr 2002)
24 Apr 2002; Spider <spider@gentoo.org> ChangeLog gtranslator-0.41.ebuild :
diff --git a/app-text/gtranslator/files/digest-gtranslator-0.42 b/app-text/gtranslator/files/digest-gtranslator-0.42
new file mode 100644
index 000000000000..63aee253fa73
--- /dev/null
+++ b/app-text/gtranslator/files/digest-gtranslator-0.42
@@ -0,0 +1 @@
+MD5 57fdb393b079cf4642d2a6801a9a6592 gtranslator-0.42.tar.gz 1310101
diff --git a/app-text/gtranslator/gtranslator-0.42.ebuild b/app-text/gtranslator/gtranslator-0.42.ebuild
new file mode 100644
index 000000000000..adb6f89599ae
--- /dev/null
+++ b/app-text/gtranslator/gtranslator-0.42.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/app-text/gtranslator/gtranslator-0.42.ebuild,v 1.1 2002/06/30 23:39:28 stroke 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"
+
+RDEPEND=">=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"
+
+DEPEND="${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
+}