aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlammie <Flammie@32389bae-6d03-0410-99cf-db05cde120eb>2008-04-02 04:16:31 +0000
committerFlammie <Flammie@32389bae-6d03-0410-99cf-db05cde120eb>2008-04-02 04:16:31 +0000
commit50a25b231ca39c4414605d0877fc9b44cf034bdd (patch)
tree539021eefe0c3f3d3125bf6ceca161e3576ed3e2 /sci-misc
parentBump eselect-mpi. Fix mpi.eclass so it correctly reports the mpi_dir when bu... (diff)
downloadsci-50a25b231ca39c4414605d0877fc9b44cf034bdd.tar.gz
sci-50a25b231ca39c4414605d0877fc9b44cf034bdd.tar.bz2
sci-50a25b231ca39c4414605d0877fc9b44cf034bdd.zip
Initial import, openFST finite state transducer toolkit
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@998 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/openfst/ChangeLog9
-rw-r--r--sci-misc/openfst/Manifest4
-rw-r--r--sci-misc/openfst/metadata.xml8
-rw-r--r--sci-misc/openfst/openfst-20080317_beta.ebuild58
4 files changed, 79 insertions, 0 deletions
diff --git a/sci-misc/openfst/ChangeLog b/sci-misc/openfst/ChangeLog
new file mode 100644
index 000000000..7da0934b0
--- /dev/null
+++ b/sci-misc/openfst/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sci-misc/openfst
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*openfst-20080317 (22 Mar 2008)
+
+ 22 Mar 2008; Flammie Pirinen <flammie@gentoo.org>,
+ +openfst-20080317:
+ Initial import.
diff --git a/sci-misc/openfst/Manifest b/sci-misc/openfst/Manifest
new file mode 100644
index 000000000..38a6dd0ac
--- /dev/null
+++ b/sci-misc/openfst/Manifest
@@ -0,0 +1,4 @@
+DIST OpenFst-beta-20080317.tgz 156634 RMD160 6593054adef89b995d771a2004cd8889dd2ba138 SHA1 7ab637d2fa063f41ef3941ec968bea382e73f6d7 SHA256 07f56287ac8d605c9f38fc71960212c752b647e65a82189ef5526c74990357bc
+EBUILD openfst-20080317_beta.ebuild 1127 RMD160 566f0d8cf329d4df2f332a3f11852110a8b35b81 SHA1 ca854a82a7e4646f97209b702dde932c7e5771b0 SHA256 d0a78cd76bfc0b00f3561f81968fc1c56356404c8ac2fcafa4d361619812afbf
+MISC ChangeLog 244 RMD160 aca76f458d26482708efc2641219710c55db64d3 SHA1 4c164e96d6157d0e518cad53f621b2f5f879f432 SHA256 d2835711bdd9946cc694d7f5d2a97cc10d297972e55a016f7ba8690d025a99de
+MISC metadata.xml 223 RMD160 754bf1189c9d51090f3e0439f6e7d6f603b93df0 SHA1 54348ca01c174e03ff3318b2a9da50d970db6695 SHA256 5c57a999484660ea4a3e55f9c526bb38097d5c1cb2356353133ec4d7e89f1f88
diff --git a/sci-misc/openfst/metadata.xml b/sci-misc/openfst/metadata.xml
new file mode 100644
index 000000000..0ad3ea858
--- /dev/null
+++ b/sci-misc/openfst/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>flammie@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/sci-misc/openfst/openfst-20080317_beta.ebuild b/sci-misc/openfst/openfst-20080317_beta.ebuild
new file mode 100644
index 000000000..faf5a92e6
--- /dev/null
+++ b/sci-misc/openfst/openfst-20080317_beta.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit multilib
+
+MY_PN="OpenFst"
+MY_P="${MY_PN}-beta-${PV/_beta/}"
+
+DESCRIPTION="Finite State Transducer tools by Google et al."
+HOMEPAGE="http://www.openfst.org"
+SRC_URI="http://128.122.80.210/~openfst/twiki/pub/FST/FstDownload/${MY_P}.tgz"
+
+LICENSE="Apache-2.0"
+
+SLOT="0"
+
+KEYWORDS="~x86"
+
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_PN}/fst"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "s/OPT=.*/OPT=${CXXFLAGS}/g" bin/Makefile
+}
+
+src_compile() {
+ emake all || die "emake failed"
+}
+
+src_install() {
+ # bin dir has .o and stuff
+ # bins have insecure runpath’s
+ for f in $(find bin/ -executable ) ; do
+ dobin ${f}
+ done
+ dodir /usr/include/fst
+ dodir /usr/include/fst/lib
+ insinto /usr/include/fst/lib
+ doins lib/fst.h
+ dodir /usr/$(get_libdir)
+ insinto /usr/$(get_libdir)
+ doins lib/libfst.so
+ doins bin/libfstmain.so
+ cd "${WORKDIR}/${MY_PN}"
+ dodoc README
+}
+
+src_test() {
+ einfo "make test can take a few hours on moderately modern systems"
+ make test || die "check failed"
+}