summaryrefslogtreecommitdiffstats
path: root/app-dicts/libtranslate/libtranslate-0.99-r4.ebuild
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /app-dicts/libtranslate/libtranslate-0.99-r4.ebuild
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'app-dicts/libtranslate/libtranslate-0.99-r4.ebuild')
-rw-r--r--app-dicts/libtranslate/libtranslate-0.99-r4.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/app-dicts/libtranslate/libtranslate-0.99-r4.ebuild b/app-dicts/libtranslate/libtranslate-0.99-r4.ebuild
new file mode 100644
index 0000000..59e4e78
--- /dev/null
+++ b/app-dicts/libtranslate/libtranslate-0.99-r4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="Library for translating text and web pages between natural languages."
+HOMEPAGE="http://www.nongnu.org/libtranslate"
+SRC_URI="http://savannah.nongnu.org/download/libtranslate/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="x86 amd64"
+LICENSE="BSD"
+IUSE=""
+
+
+DEPEND=">=dev-libs/glib-2.4.0
+ >=net-libs/libsoup-2.2.0
+ >=dev-libs/libxml2-2.0
+ app-text/talkfilters
+ dev-perl/XML-Parser"
+
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch "${FILESDIR}"/libtranslate-ds-timed.patch.bz2
+ epatch "${FILESDIR}"/libtranslate-ds-memory.patch
+
+ epatch "${FILESDIR}"/libtranslate-0.99-charsetparse.diff
+ epatch "${FILESDIR}"/libtranslate-0.99-condfix.diff
+ epatch "${FILESDIR}"/libtranslate-ds-empty.patch
+ epatch "${FILESDIR}"/libtranslate-ds-promt.patch
+ epatch "${FILESDIR}"/libtranslate-ds-fixcharset.patch
+}
+
+src_install() {
+# Installing new services.xml without broken items
+ cp -f ${FILESDIR}/services.xml data/
+
+ make install DESTDIR="${D}"
+
+ cd ${S}
+ dodoc AUTHORS COPYING INSTALL NEWS README TODO
+}