Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 340217 | Differences between
and this patch

Collapse All | Expand All

(-)link-grammar-4.2.4-r1.ebuild (-21 / +20 lines)
Lines 1-36 Link Here
1
# Copyright 1999-2010 Gentoo Foundation
1
# Copyright 1999-2010 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-libs/link-grammar/link-grammar-4.2.4-r1.ebuild,v 1.10 2010/03/23 14:00:43 pacho Exp $
3
# $Header: $
4
4
5
inherit eutils
5
EAPI=3
6
inherit eutils java-pkg-opt-2
6
7
7
DESCRIPTION="Link Grammar Parser is a syntactic English parser based on
8
DESCRIPTION="A syntactic English parser based on link grammar"
8
link grammar."
9
HOMEPAGE="http://www.link.cs.cmu.edu/link/"
9
HOMEPAGE="http://www.link.cs.cmu.edu/link/"
10
SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/${P}.tar.gz"
10
SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/${P}.tar.gz"
11
11
12
LICENSE="as-is"
12
LICENSE="as-is"
13
SLOT="0"
13
SLOT="0"
14
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
14
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
15
IUSE=""
15
IUSE="aspell hunspell java static-libs threads"
16
16
17
src_unpack() {
17
DEPEND="aspell? ( app-text/aspell )
18
	unpack ${A}
18
	hunspell? ( app-text/hunspell )
19
	cd "${S}"
19
	java? ( >=virtual/jdk-1.5 )"
20
20
RDEPEND="${DEPEND}"
21
	# Fix bug #196803
21
22
	epatch "${FILESDIR}"/${P}-tokenize.patch
22
src_configure() {
23
}
23
	econf \
24
24
		--enable-shared \
25
src_compile() {
25
		$(use_enable aspell) \
26
	econf
26
		$(use_enable hunspell) \
27
27
		$(use_enable java java-bindings) \
28
	# broken make files :-/
28
		$(use_enable static-libs static) \
29
	emake -j1 || die "emake failed"
29
		$(use_enable threads pthreads)
30
}
30
}
31
31
32
src_install() {
32
src_install() {
33
	# broken make files :-/
33
	emake DESTDIR="${D}" install || die "install failed"
34
	emake -j1 DESTDIR="${D}" install || die "install failed"
35
	dodoc README
34
	dodoc README
36
}
35
}

Return to bug 340217