summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}