summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-11-08 13:09:49 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-11-08 13:09:49 +0000
commit7acf15388dc41bd22525f5a216072041a1b893e7 (patch)
tree32554d9d4f680dd4bd9208c7104a2ae1849d3120 /app-text/crf++
parentBump (diff)
downloadgentoo-2-7acf15388dc41bd22525f5a216072041a1b893e7.tar.gz
gentoo-2-7acf15388dc41bd22525f5a216072041a1b893e7.tar.bz2
gentoo-2-7acf15388dc41bd22525f5a216072041a1b893e7.zip
Bump
(Portage version: 2.2_rc49/cvs/Linux x86_64)
Diffstat (limited to 'app-text/crf++')
-rw-r--r--app-text/crf++/ChangeLog9
-rw-r--r--app-text/crf++/crf++-0.53.ebuild51
2 files changed, 58 insertions, 2 deletions
diff --git a/app-text/crf++/ChangeLog b/app-text/crf++/ChangeLog
index e2fb0029a430..ffe9aa9126fb 100644
--- a/app-text/crf++/ChangeLog
+++ b/app-text/crf++/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/crf++
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/crf++/ChangeLog,v 1.9 2008/10/07 23:43:31 matsuu Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/crf++/ChangeLog,v 1.10 2009/11/08 13:09:49 patrick Exp $
+
+*crf++-0.53 (08 Nov 2009)
+
+ 08 Nov 2009; Patrick Lauer <patrick@gentoo.org> +crf++-0.53.ebuild:
+ Bump
*crf++-0.51 (07 Oct 2008)
diff --git a/app-text/crf++/crf++-0.53.ebuild b/app-text/crf++/crf++-0.53.ebuild
new file mode 100644
index 000000000000..92ec69b68911
--- /dev/null
+++ b/app-text/crf++/crf++-0.53.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/crf++/crf++-0.53.ebuild,v 1.1 2009/11/08 13:09:49 patrick Exp $
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="latest"
+
+inherit autotools eutils
+
+MY_P="${P/crf/CRF}"
+DESCRIPTION="Yet Another CRF toolkit for segmenting/labelling sequential data"
+HOMEPAGE="http://crfpp.sourceforge.net/"
+SRC_URI="mirror://sourceforge/crfpp/${MY_P}.tar.gz"
+
+LICENSE="|| ( BSD LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="examples"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "/CFLAGS/s/-O3/${CFLAGS}/" \
+ -e "/CXXFLAGS/s/-O3/${CXXFLAGS}/" \
+ configure.in || die
+ eautoreconf
+}
+
+src_test() {
+ for task in example/* ; do
+ (
+ cd "${task}"
+ ./exec.sh || die "failed test in ${task}"
+ )
+ done
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dodoc AUTHORS README
+ dohtml doc/*
+
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r example
+ fi
+}