diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2007-08-04 18:18:18 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2007-08-04 18:18:18 +0000 |
commit | 450107f658933629cc0ddaceae8993243c326823 (patch) | |
tree | 346a972fceeaef0d3463c39b09e265ce40844b3d /dev-java | |
parent | Stable on amd64 wrt bug #184203 (diff) | |
download | gentoo-2-450107f658933629cc0ddaceae8993243c326823.tar.gz gentoo-2-450107f658933629cc0ddaceae8993243c326823.tar.bz2 gentoo-2-450107f658933629cc0ddaceae8993243c326823.zip |
Initial ebuild, submitted by Serkan Kaba <serkan_kaba@yahoo.com>, bug #170372.
(Portage version: 2.1.3.3)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/zemberek/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/zemberek/Manifest | 16 | ||||
-rw-r--r-- | dev-java/zemberek/files/digest-zemberek-2.0 | 3 | ||||
-rw-r--r-- | dev-java/zemberek/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/zemberek/zemberek-2.0.ebuild | 59 |
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..7d922a0491ff --- /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 1303 RMD160 dcde1d5c8f458163d325638d773b801cf82e4525 SHA1 4df5e99f5a45ad3be048173991a9aa616eb09349 SHA256 802d0d9aa59d25d12c08523346ff5e2819d4fb07dae93211cee40c2edd6dabab +MD5 4117d591f758f1a3bda509628088a5ee zemberek-2.0.ebuild 1303 +RMD160 dcde1d5c8f458163d325638d773b801cf82e4525 zemberek-2.0.ebuild 1303 +SHA256 802d0d9aa59d25d12c08523346ff5e2819d4fb07dae93211cee40c2edd6dabab zemberek-2.0.ebuild 1303 +MISC ChangeLog 320 RMD160 fd1947a6f2e02ea846eda3677000c8e4468aebc9 SHA1 d8198106c527e70ddc2efe3bad812eba4e4e790e SHA256 a3ec7cdea1de59dbad5b240a9e7095fa25c3b107717c6dcdc466495f05ac53ec +MD5 f585f17a8eab5988e7d40ecfbee34a94 ChangeLog 320 +RMD160 fd1947a6f2e02ea846eda3677000c8e4468aebc9 ChangeLog 320 +SHA256 a3ec7cdea1de59dbad5b240a9e7095fa25c3b107717c6dcdc466495f05ac53ec ChangeLog 320 +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 +} |