Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/crf++: crf++-0.54.ebuild ChangeLog crf++-0.51.ebuild crf++-0.50.ebuild
Date: Mon, 30 May 2011 23:33:06
Message-Id: 20110530233256.3CE8020054@flycatcher.gentoo.org
1 matsuu 11/05/30 23:32:56
2
3 Modified: ChangeLog
4 Added: crf++-0.54.ebuild
5 Removed: crf++-0.51.ebuild crf++-0.50.ebuild
6 Log:
7 Version bumped, bug #356959. Fixed to build with gcc-4.6, bug #365921. Added static-libs USE flag. Removed *.la files.
8
9 (Portage version: 2.1.9.49/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.12 app-text/crf++/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crf++/ChangeLog?rev=1.12&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crf++/ChangeLog?rev=1.12&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crf++/ChangeLog?r1=1.11&r2=1.12
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-text/crf++/ChangeLog,v
21 retrieving revision 1.11
22 retrieving revision 1.12
23 diff -u -r1.11 -r1.12
24 --- ChangeLog 2 Dec 2010 01:18:51 -0000 1.11
25 +++ ChangeLog 30 May 2011 23:32:56 -0000 1.12
26 @@ -1,6 +1,14 @@
27 # ChangeLog for app-text/crf++
28 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-text/crf++/ChangeLog,v 1.11 2010/12/02 01:18:51 flameeyes Exp $
30 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/app-text/crf++/ChangeLog,v 1.12 2011/05/30 23:32:56 matsuu Exp $
32 +
33 +*crf++-0.54 (30 May 2011)
34 +
35 + 30 May 2011; MATSUU Takuto <matsuu@g.o> -crf++-0.50.ebuild,
36 + -files/crf++-0.50-gcc43.patch, -crf++-0.51.ebuild, +crf++-0.54.ebuild,
37 + +files/crf++-0.54-gcc46.patch:
38 + Version bumped, bug #356959. Fixed to build with gcc-4.6, bug #365921. Added
39 + static-libs USE flag. Removed *.la files. Removed old versions.
40
41 02 Dec 2010; Diego E. Pettenò <flameeyes@g.o> crf++-0.51.ebuild,
42 crf++-0.53.ebuild:
43
44
45
46 1.1 app-text/crf++/crf++-0.54.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crf++/crf++-0.54.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crf++/crf++-0.54.ebuild?rev=1.1&content-type=text/plain
50
51 Index: crf++-0.54.ebuild
52 ===================================================================
53 # Copyright 1999-2011 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/app-text/crf++/crf++-0.54.ebuild,v 1.1 2011/05/30 23:32:56 matsuu Exp $
56
57 EAPI="3"
58 inherit autotools eutils
59
60 MY_P="${P/crf/CRF}"
61 DESCRIPTION="Yet Another CRF toolkit for segmenting/labelling sequential data"
62 HOMEPAGE="http://crfpp.sourceforge.net/"
63 SRC_URI="mirror://sourceforge/crfpp/${MY_P}.tar.gz"
64
65 LICENSE="|| ( BSD LGPL-2.1 )"
66 SLOT="0"
67 KEYWORDS="~x86 ~amd64"
68 IUSE="examples static-libs"
69
70 S="${WORKDIR}/${MY_P}"
71
72 src_prepare() {
73 sed -i \
74 -e "/CFLAGS/s/-O3/${CFLAGS}/" \
75 -e "/CXXFLAGS/s/-O3/${CXXFLAGS}/" \
76 configure.in || die
77
78 # bug #365921
79 epatch "${FILESDIR}/${P}-gcc46.patch"
80
81 eautoreconf
82 }
83
84 src_configure() {
85 econf $(use_enable static-libs static) || die
86 }
87
88 src_test() {
89 for task in example/* ; do
90 (
91 cd "${task}"
92 ./exec.sh || die "failed test in ${task}"
93 )
94 done
95 }
96
97 src_install() {
98 emake DESTDIR="${D}" install || die
99
100 if ! use static-libs ; then
101 find "${ED}" -name "*.la" -type f -delete || die
102 fi
103
104 dodoc AUTHORS README || die
105 dohtml -r doc/* || die
106
107 if use examples ; then
108 insinto /usr/share/doc/${PF}
109 doins -r example || die
110 fi
111 }