diff options
-rw-r--r-- | app-text/zemberek-server/ChangeLog | 11 | ||||
-rw-r--r-- | app-text/zemberek-server/zemberek-server-0.7.1-r1.ebuild | 55 |
2 files changed, 63 insertions, 3 deletions
diff --git a/app-text/zemberek-server/ChangeLog b/app-text/zemberek-server/ChangeLog index 7b4d47ba9959..765ebcb9d7fc 100644 --- a/app-text/zemberek-server/ChangeLog +++ b/app-text/zemberek-server/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/zemberek-server -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/zemberek-server/ChangeLog,v 1.9 2012/07/13 14:10:14 sera Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/zemberek-server/ChangeLog,v 1.10 2015/04/05 21:01:36 monsieurp Exp $ + +*zemberek-server-0.7.1-r1 (05 Apr 2015) + + 05 Apr 2015; Patrice Clement <monsieurp@gentoo.org> + +zemberek-server-0.7.1-r1.ebuild: + EAPI 5 bump wrt bug 543906. 13 Jul 2012; Ralph Sennhauser <sera@gentoo.org> zemberek-server-0.7.1.ebuild: Add GPL-2 to licenses to cover the Gentoo initscript. #425916 @@ -35,4 +41,3 @@ 18 Jul 2008; Serkan Kaba <serkan@gentoo.org> +files/pre, +files/zemberek-server, +metadata.xml, +zemberek-server-0.7.1.ebuild: Initial ebuild. Fixes bug #156100. - diff --git a/app-text/zemberek-server/zemberek-server-0.7.1-r1.ebuild b/app-text/zemberek-server/zemberek-server-0.7.1-r1.ebuild new file mode 100644 index 000000000000..233e3d8ceedf --- /dev/null +++ b/app-text/zemberek-server/zemberek-server-0.7.1-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/zemberek-server/zemberek-server-0.7.1-r1.ebuild,v 1.1 2015/04/05 21:01:36 monsieurp Exp $ + +EAPI=5 +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="A Turkish spell checker server based on Zemberek NLP library" +HOMEPAGE="http://code.google.com/p/zemberek/" +SRC_URI="http://zemberek.googlecode.com/files/${PN}-nolibs-${PV}.tar.gz" + +LICENSE="MPL-1.1 GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +S="${WORKDIR}" +IUSE="" + +CDEPEND="dev-java/zemberek[linguas_tr] + dev-java/dbus-java + dev-java/mina-core" + +RDEPEND="${CDEPEND} + dev-java/slf4j-nop + >=virtual/jre-1.6" + +DEPEND="${CDEPEND} + >=virtual/jdk-1.6" + +EANT_BUILD_TARGET="dist" + +src_unpack() { + unpack ${A} + mkdir lib || die + cd lib || die + java-pkg_jarfrom zemberek zemberek2-cekirdek.jar + java-pkg_jarfrom zemberek zemberek2-tr.jar + java-pkg_jarfrom dbus-java dbus.jar + java-pkg_jarfrom mina-core +} + +src_install() { + java-pkg_newjar dist/${P}.jar ${PN}.jar + java-pkg_dolauncher zemberek-server \ + --java_args \ + "-Xverify:none -Xms12m -Xmx14m -DConfigFile=/etc/zemberek-server.ini" \ + --pre "${FILESDIR}"/pre \ + --main net.zemberekserver.server.ZemberekServer + java-pkg_register-dependency slf4j-nop + + doinitd "${FILESDIR}"/zemberek-server + insinto /etc/dbus-1/system.d + doins dist/config/zemberek-server.conf + insinto /etc + newins config/conf.ini zemberek-server.ini +} |