Gentoo Archives: gentoo-commits

From: "Naohiro Aota (naota)" <naota@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/crf++: crf++-0.58.ebuild ChangeLog
Date: Tue, 02 Jul 2013 02:08:20
Message-Id: 20130702020816.B81BC2171D@flycatcher.gentoo.org
1 naota 13/07/02 02:08:16
2
3 Modified: ChangeLog
4 Added: crf++-0.58.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.0_alpha180/cvs/Linux x86_64, signed Manifest commit with key F8551514)
9
10 Revision Changes Path
11 1.16 app-text/crf++/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crf++/ChangeLog?rev=1.16&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crf++/ChangeLog?rev=1.16&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crf++/ChangeLog?r1=1.15&r2=1.16
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-text/crf++/ChangeLog,v
20 retrieving revision 1.15
21 retrieving revision 1.16
22 diff -u -r1.15 -r1.16
23 --- ChangeLog 4 Sep 2011 10:19:01 -0000 1.15
24 +++ ChangeLog 2 Jul 2013 02:08:16 -0000 1.16
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-text/crf++
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-text/crf++/ChangeLog,v 1.15 2011/09/04 10:19:01 maekke Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-text/crf++/ChangeLog,v 1.16 2013/07/02 02:08:16 naota Exp $
31 +
32 +*crf++-0.58 (02 Jul 2013)
33 +
34 + 02 Jul 2013; Naohiro Aota <naota@g.o> +crf++-0.58.ebuild:
35 + version bump
36
37 04 Sep 2011; Markus Meier <maekke@g.o> crf++-0.54.ebuild:
38 x86 stable, bug #380561
39 @@ -72,4 +77,3 @@
40 23 Dec 2005; Mamoru KOMACHI <usata@g.o> +metadata.xml,
41 +crf++-0.3.ebuild:
42 Initial import.
43 -
44
45
46
47 1.1 app-text/crf++/crf++-0.58.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crf++/crf++-0.58.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/crf++/crf++-0.58.ebuild?rev=1.1&content-type=text/plain
51
52 Index: crf++-0.58.ebuild
53 ===================================================================
54 # Copyright 1999-2013 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/app-text/crf++/crf++-0.58.ebuild,v 1.1 2013/07/02 02:08:16 naota Exp $
57
58 EAPI="3"
59 inherit autotools eutils
60
61 MY_P="${P/crf/CRF}"
62 DESCRIPTION="Yet Another CRF toolkit for segmenting/labelling sequential data"
63 HOMEPAGE="http://crfpp.googlecode.com/svn/trunk/doc/index.html"
64 SRC_URI="http://crfpp.googlecode.com/files/${MY_P}.tar.gz"
65
66 LICENSE="|| ( BSD LGPL-2.1 )"
67 SLOT="0"
68 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
69 IUSE="examples static-libs"
70
71 S="${WORKDIR}/${MY_P}"
72
73 src_prepare() {
74 sed -i \
75 -e "/CFLAGS/s/-O3/${CFLAGS}/" \
76 -e "/CXXFLAGS/s/-O3/${CXXFLAGS}/" \
77 configure.in || die
78
79 eautoreconf
80 }
81
82 src_configure() {
83 econf $(use_enable static-libs static) || die
84 }
85
86 src_test() {
87 for task in example/* ; do
88 (
89 cd "${task}"
90 ./exec.sh || die "failed test in ${task}"
91 )
92 done
93 }
94
95 src_install() {
96 emake DESTDIR="${D}" install || die
97
98 if ! use static-libs ; then
99 find "${ED}" -name "*.la" -type f -delete || die
100 fi
101
102 dodoc AUTHORS README || die
103 dohtml -r doc/* || die
104
105 if use examples ; then
106 insinto /usr/share/doc/${PF}
107 doins -r example || die
108 fi
109 }