summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2007-08-04 18:18:18 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2007-08-04 18:18:18 +0000
commit1960d506219bd9f96b479d33e7d5e0ec5425b6a9 (patch)
tree76c347ccdb4c4524ac626cadac5175915046522f /dev-java/zemberek
parentStable on amd64 wrt bug #184203 (diff)
downloadhistorical-1960d506219bd9f96b479d33e7d5e0ec5425b6a9.tar.gz
historical-1960d506219bd9f96b479d33e7d5e0ec5425b6a9.tar.bz2
historical-1960d506219bd9f96b479d33e7d5e0ec5425b6a9.zip
Initial ebuild, submitted by Serkan Kaba <serkan_kaba@yahoo.com>, bug #170372.
Package-Manager: portage-2.1.3.3
Diffstat (limited to 'dev-java/zemberek')
-rw-r--r--dev-java/zemberek/ChangeLog10
-rw-r--r--dev-java/zemberek/Manifest16
-rw-r--r--dev-java/zemberek/files/digest-zemberek-2.03
-rw-r--r--dev-java/zemberek/metadata.xml8
-rw-r--r--dev-java/zemberek/zemberek-2.0.ebuild59
5 files changed, 96 insertions, 0 deletions
diff --git a/dev-java/zemberek/ChangeLog b/dev-java/zemberek/ChangeLog
new file mode 100644
index 000000000000..5f1db675cc95
--- /dev/null
+++ b/dev-java/zemberek/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/zemberek
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/zemberek/ChangeLog,v 1.1 2007/08/04 18:18:18 fordfrog Exp $
+
+*zemberek-2.0 (04 Aug 2007)
+
+ 04 Aug 2007; Miroslav Šulc <fordfrog@gentoo.org> +metadata.xml,
+ +zemberek-2.0.ebuild:
+ Initial ebuild, submitted by Serkan Kaba <serkan_kaba@yahoo.com>, bug #170372.
+
diff --git a/dev-java/zemberek/Manifest b/dev-java/zemberek/Manifest
new file mode 100644
index 000000000000..bb6acec3515e
--- /dev/null
+++ b/dev-java/zemberek/Manifest
@@ -0,0 +1,16 @@
+DIST zemberek-2.0-src.zip 1413624 RMD160 f74a5cdebcf6258ed0e848dfee7161e1a0bc19cd SHA1 8c9388eddd01521eb0b92adc9fd718feb873215e SHA256 ef26d6fef42f1ef72bc0d241019357b9c9707783634407626fe8a43178b360a4
+EBUILD zemberek-2.0.ebuild 1404 RMD160 65761b6cf6aff3ad6ac5d683e81c23d0b35121bb SHA1 3b06bb6d12d2facf8064a9b7c47f462cfab090d1 SHA256 4f4ff53109fbd3ef66b95582f7f180fe65be297f495583dd2d65db35f13eb283
+MD5 ace604c0ba95fe05a3d46dfb60b38678 zemberek-2.0.ebuild 1404
+RMD160 65761b6cf6aff3ad6ac5d683e81c23d0b35121bb zemberek-2.0.ebuild 1404
+SHA256 4f4ff53109fbd3ef66b95582f7f180fe65be297f495583dd2d65db35f13eb283 zemberek-2.0.ebuild 1404
+MISC ChangeLog 411 RMD160 aa5163326fbd3c79a131cf0c90ad2118f4308828 SHA1 b04ec56c5a2af08f2a67b811c5a11e23a4e85a8c SHA256 90a7b268fc5b5591652efd19230e19b35986a2f68fa466aa25e98ca4871002ac
+MD5 9a76321df017907a2e5547b1e2ba985f ChangeLog 411
+RMD160 aa5163326fbd3c79a131cf0c90ad2118f4308828 ChangeLog 411
+SHA256 90a7b268fc5b5591652efd19230e19b35986a2f68fa466aa25e98ca4871002ac ChangeLog 411
+MISC metadata.xml 216 RMD160 05d4d9c2f1c459ea9309346016001e26bad574ce SHA1 98783559fec44d27f1294db2e9549af2fe38f1b3 SHA256 94b55a2ec67c524728d32249d59a6a1545fd37d61c83259b5f05163ca47e87e1
+MD5 f975e6f37c20a73d4d486a0c24ff4c78 metadata.xml 216
+RMD160 05d4d9c2f1c459ea9309346016001e26bad574ce metadata.xml 216
+SHA256 94b55a2ec67c524728d32249d59a6a1545fd37d61c83259b5f05163ca47e87e1 metadata.xml 216
+MD5 ce978ee471bb94872ceb5ade8a65a994 files/digest-zemberek-2.0 244
+RMD160 c6f98b8407b1e25c64112762edc4890c9637d395 files/digest-zemberek-2.0 244
+SHA256 1702603e7b8f51ab6f623311ed2c1abfbed970df2a4ef3444621c007e9904f43 files/digest-zemberek-2.0 244
diff --git a/dev-java/zemberek/files/digest-zemberek-2.0 b/dev-java/zemberek/files/digest-zemberek-2.0
new file mode 100644
index 000000000000..d5274f6f10fc
--- /dev/null
+++ b/dev-java/zemberek/files/digest-zemberek-2.0
@@ -0,0 +1,3 @@
+MD5 470d7588fcfa435f61c50d581fabe927 zemberek-2.0-src.zip 1413624
+RMD160 f74a5cdebcf6258ed0e848dfee7161e1a0bc19cd zemberek-2.0-src.zip 1413624
+SHA256 ef26d6fef42f1ef72bc0d241019357b9c9707783634407626fe8a43178b360a4 zemberek-2.0-src.zip 1413624
diff --git a/dev-java/zemberek/metadata.xml b/dev-java/zemberek/metadata.xml
new file mode 100644
index 000000000000..a2ac2e03bfbd
--- /dev/null
+++ b/dev-java/zemberek/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+<maintainer>
+ <email>java@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-java/zemberek/zemberek-2.0.ebuild b/dev-java/zemberek/zemberek-2.0.ebuild
new file mode 100644
index 000000000000..5fe480a46a3f
--- /dev/null
+++ b/dev-java/zemberek/zemberek-2.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/zemberek/zemberek-2.0.ebuild,v 1.1 2007/08/04 18:18:18 fordfrog Exp $
+
+JAVA_PKG_IUSE="source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Zemberek NLP library"
+HOMEPAGE="http://code.google.com/p/zemberek/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}-src.zip"
+
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LANGS="tr tk"
+IUSE="doc"
+
+S=${WORKDIR}/${P}-src
+
+for X in ${LANGS} ; do
+ IUSE="${IUSE} linguas_${X/-/_}"
+done
+
+RDEPEND=">=virtual/jre-1.5"
+
+DEPEND=">=virtual/jdk-1.5
+ app-arch/unzip"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ mkdir lib/dagitim
+ rm lib/gelistirme/*.jar
+}
+
+src_compile() {
+ strip-linguas ${LANGS}
+ local anttargs
+ for jar in cekirdek demo ${LINGUAS}; do
+ anttargs="${anttargs} jar-${jar/tk/tm}"
+ done
+ eant ${anttargs} $(use_doc javadocs)
+}
+
+src_install() {
+ strip-linguas ${LANGS}
+ local sourcetrees=""
+ for jar in cekirdek demo ${LINGUAS}; do
+ java-pkg_newjar dagitim/jar/zemberek-${jar/tk/tm}-${PV}.jar zemberek2-${jar/tk/tm}.jar
+ sourcetrees="${sourcetrees} src/${jar/tk/tm}/*"
+ done
+ use source && java-pkg_dosrc ${sourcetrees}
+ use doc && java-pkg_dojavadoc build/java-docs/api
+ java-pkg_dolauncher zemberek-demo --main net.zemberek.demo.DemoMain
+ dodoc dokuman/lisanslar/* || die
+ dodoc surumler.txt || die
+}