diff options
author | Pacho Ramos <pacho@gentoo.org> | 2016-05-29 13:18:23 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2016-05-29 14:40:44 +0200 |
commit | 3964eb73ff7710235449ea357f42ee3b038a0e3f (patch) | |
tree | af63766974b5132382e744e162f6d9fdeb5d0059 /dev-libs | |
parent | ebea6085d91b02b0735ddb6913d8344bfebfde86 (diff) | |
download | gentoo-3964eb73ff7710235449ea357f42ee3b038a0e3f.tar.gz gentoo-3964eb73ff7710235449ea357f42ee3b038a0e3f.tar.xz |
dev-libs/link-grammar: Version bump
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/link-grammar/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/link-grammar/link-grammar-5.3.7.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-libs/link-grammar/Manifest b/dev-libs/link-grammar/Manifest index 288879dc93c..222054cb665 100644 --- a/dev-libs/link-grammar/Manifest +++ b/dev-libs/link-grammar/Manifest @@ -1,2 +1,3 @@ DIST link-grammar-4.8.6.tar.gz 2879287 SHA256 6a63bf84e487876bc15311844fdb4d482b2f9d01f3c1d52d45cc7ff6beacc893 SHA512 70e1a605b295f6f49e707c701a2fd1bb1905b7d34b950bbf9b3f6fa70c289f1d40c7791ba755b50cfeb847a5dc634239fd58c7933f716f378fce2bfda62b0535 WHIRLPOOL 75ed2446f4243e3623eecf9fcfb22146d48e0df260aea5fb77a7035f7eeab0ee9a214110dfd15be4858bf04a7a83b129066197e32949acfba6e726d4eddf8762 DIST link-grammar-5.3.3.tar.gz 4093300 SHA256 99bdec507a84079cd1d26b0f94dbca0bab7c0888073fe68d682febaf67746a79 SHA512 da4c3ac4fb3e0baf2c3d4654aad91ae92d4759c4ea66fe01c9ca84107d171e542a42c4bd508e7cc6be293116c02528042e79b2aefa5a80b253f6ac792110f714 WHIRLPOOL 073319778e8876c0ea97ab8c68923f543b95c8fdf58ae4b0a42126fe589396414ad1f279c49903f2bb70f0a7fdfddb382f256e49b00036ec3795cfb62683652d +DIST link-grammar-5.3.7.tar.gz 3555475 SHA256 d0cf0061cccccfdc7c539e1f402da11b5fe2783940546560cd11a05382263a6a SHA512 f1a1e03841f847d427acb24cfb7a7a552ade6731253cf5f2ce6fcb82be387426d7cb5b47a82523f01fc56771c0667881ae663380dbc644e775694029c7fef740 WHIRLPOOL 86bf7f2e26a6e3e5c560c85719d2a8823846ad1d4a273641104111bff2523c431f459a38415c22c12db61dc344ac99e8dd33dcb7210ee42d5517f39c1e0ff90f diff --git a/dev-libs/link-grammar/link-grammar-5.3.7.ebuild b/dev-libs/link-grammar/link-grammar-5.3.7.ebuild new file mode 100644 index 00000000000..2ca6260386d --- /dev/null +++ b/dev-libs/link-grammar/link-grammar-5.3.7.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit autotools eutils gnome2 java-pkg-opt-2 python-any-r1 + +DESCRIPTION="A Syntactic English parser" +HOMEPAGE="http://www.abisource.com/projects/link-grammar/ http://www.link.cs.cmu.edu/link/" +SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +IUSE="aspell +hunspell java python static-libs threads" + +RDEPEND=" + aspell? ( app-text/aspell ) + hunspell? ( app-text/hunspell ) + java? ( + >=virtual/jdk-1.6:* + dev-java/ant-core ) + python? ( ${PYTHON_DEPS} ) +" +DEPEND="${RDEPEND} + dev-lang/swig:0 +" + +pkg_setup() { + if use aspell && use hunspell; then + ewarn "You have enabled 'aspell' and 'hunspell' support, but both cannot coexist," + ewarn "only hunspell will be built. Press Ctrl+C and set only 'aspell' USE flag if" + ewarn "you want aspell support." + fi + use java && java-pkg-opt-2_pkg_setup + use python && python-any-r1_pkg_setup +} + +src_prepare() { + use java && java-pkg-opt-2_src_prepare + AT_M4DIR="ac-helpers/" eautoreconf + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --disable-perl-bindings \ + --enable-shared \ + $(use_enable aspell) \ + $(use_enable hunspell) \ + $(usex hunspell --with-hunspell-dictdir=/usr/share/myspell) \ + $(use_enable java java-bindings) \ + $(use_enable python python-bindings) \ + $(use_enable static-libs static) \ + $(use_enable threads pthreads) +} + +pkg_preinst() { + use java && java-pkg-opt-2_pkg_preinst + gnome2_pkg_preinst +} |