Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/link-grammar: link-grammar-4.7.6.ebuild ChangeLog link-grammar-4.7.5.ebuild
Date: Sat, 28 Apr 2012 18:28:15
Message-Id: 20120428182759.6DA582004B@flycatcher.gentoo.org
1 pacho 12/04/28 18:27:59
2
3 Modified: ChangeLog
4 Added: link-grammar-4.7.6.ebuild
5 Removed: link-grammar-4.7.5.ebuild
6 Log:
7 Version bump, remove broken version.
8
9 (Portage version: 2.1.10.57/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.43 dev-libs/link-grammar/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/link-grammar/ChangeLog?rev=1.43&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/link-grammar/ChangeLog?rev=1.43&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/link-grammar/ChangeLog?r1=1.42&r2=1.43
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-libs/link-grammar/ChangeLog,v
21 retrieving revision 1.42
22 retrieving revision 1.43
23 diff -u -r1.42 -r1.43
24 --- ChangeLog 19 Apr 2012 11:10:48 -0000 1.42
25 +++ ChangeLog 28 Apr 2012 18:27:59 -0000 1.43
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-libs/link-grammar
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/link-grammar/ChangeLog,v 1.42 2012/04/19 11:10:48 pacho Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/link-grammar/ChangeLog,v 1.43 2012/04/28 18:27:59 pacho Exp $
31 +
32 +*link-grammar-4.7.6 (28 Apr 2012)
33 +
34 + 28 Apr 2012; Pacho Ramos <pacho@g.o> +link-grammar-4.7.6.ebuild,
35 + -link-grammar-4.7.5.ebuild:
36 + Version bump, remove broken version.
37
38 *link-grammar-4.7.5 (19 Apr 2012)
39
40
41
42
43 1.1 dev-libs/link-grammar/link-grammar-4.7.6.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/link-grammar/link-grammar-4.7.6.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/link-grammar/link-grammar-4.7.6.ebuild?rev=1.1&content-type=text/plain
47
48 Index: link-grammar-4.7.6.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-libs/link-grammar/link-grammar-4.7.6.ebuild,v 1.1 2012/04/28 18:27:59 pacho Exp $
53
54 EAPI=4
55 inherit java-pkg-opt-2
56
57 DESCRIPTION="Link Grammar Parser is a syntactic English parser based on
58 link grammar."
59 HOMEPAGE="http://www.abisource.com/projects/link-grammar/ http://www.link.cs.cmu.edu/link/"
60 SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/${P}.tar.gz"
61
62 LICENSE="as-is"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
65
66 # Set the same default as used in app-text/enchant
67 IUSE="aspell +hunspell java static-libs threads"
68
69 DEPEND="aspell? ( app-text/aspell )
70 hunspell? ( app-text/hunspell )
71 java? ( >=virtual/jdk-1.5 )"
72 RDEPEND="${DEPEND}"
73
74 pkg_setup() {
75 java-pkg-opt-2_pkg_setup
76 if use aspell && use hunspell; then
77 ewarn "You have enabled 'aspell' and 'hunspell' support, but both cannot coexist,"
78 ewarn "only aspell will be build. Press Ctrl+C and set only 'hunspell' USE flag if"
79 ewarn "you want hunspell support."
80 fi
81 }
82
83 src_configure() {
84 local myconf
85
86 use hunspell && myconf="${myconf} --with-hunspell-dictdir=/usr/share/myspell"
87 econf \
88 --enable-shared \
89 $(use_enable aspell) \
90 $(use_enable hunspell) \
91 $(use_enable java java-bindings) \
92 $(use_enable static-libs static) \
93 $(use_enable threads pthreads) \
94 ${myconf}
95 }
96
97 src_install() {
98 default
99 ! use static-libs && find "${D}" -name '*.la' -exec rm -f {} +
100 }