aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlammie Pirinen <flammie@iki.fi>2010-10-28 19:14:35 +0300
committerFlammie Pirinen <flammie@iki.fi>2010-10-28 20:47:10 +0300
commit5ed89649d462131b23ac1bbcce57c9dde31787dd (patch)
tree6eb40fe2878995f0c321319098eb4673517f655e /sci-misc/sfst
parentsci-misc/salome-* bumped to 5.1.4 (diff)
downloadsci-5ed89649d462131b23ac1bbcce57c9dde31787dd.tar.gz
sci-5ed89649d462131b23ac1bbcce57c9dde31787dd.tar.bz2
sci-5ed89649d462131b23ac1bbcce57c9dde31787dd.zip
Version bump to sfst-1.4, add library installation
Diffstat (limited to 'sci-misc/sfst')
-rw-r--r--sci-misc/sfst/ChangeLog7
-rw-r--r--sci-misc/sfst/Manifest16
-rw-r--r--sci-misc/sfst/sfst-1.4.ebuild78
3 files changed, 93 insertions, 8 deletions
diff --git a/sci-misc/sfst/ChangeLog b/sci-misc/sfst/ChangeLog
index be849fd72..7f0346705 100644
--- a/sci-misc/sfst/ChangeLog
+++ b/sci-misc/sfst/ChangeLog
@@ -1,7 +1,12 @@
# ChangeLog for sci-misc/sfst
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*sfst-1.4 (28 Oct 2010)
+
+ 28 Oct 2010; <flammie@gentoo.org> +sfst-1.4.ebuild:
+ Bump version to sfst-1.4, add library installation
+
*sfst-1.3 (11 Oct 2008)
11 Oct 2008; Flammie Pirinen <flammie@gentoo.org> +sfst-1.3.ebuild,
diff --git a/sci-misc/sfst/Manifest b/sci-misc/sfst/Manifest
index 9620a45d2..b1f3e1d88 100644
--- a/sci-misc/sfst/Manifest
+++ b/sci-misc/sfst/Manifest
@@ -1,13 +1,15 @@
+MISC ChangeLog 820 RMD160 58ceb807c4c2bf9f55c616ba2b9f287b3f6445c4 SHA1 d2aa9a020a617bfbbb33111418ffc635388a34f7 SHA256 a3e0b8edd524ce793979fad736965d2cf36600082b1571c28f4650cf00a916ea
AUX 50sfst-gentoo.el 215 RMD160 80bbc30f9e67a4a065d521593fa2a598dd721494 SHA1 f5c7c4e6a13ad8178465876f706cb42eeecf1be2 SHA256 d8207a2fb7d0d4d3c81b014cd0e5501b8efcfb196d18e100ac011776cc34addf
AUX SFST-1.3-gcc43.patch 1404 RMD160 b5b6e0c54a7dded1009fcd7aa06d09738fae2b96 SHA1 496fbe1a5ce5241c042614e920f4da5cb6f5f112 SHA256 0e25d451d9e7a7108492c59e4d605ea2c6909eba6f7677ad1f8d158be05180b8
AUX ftdetect-sfst.vim 83 RMD160 13bac861a8cd65f7896274c979a719795b8a69aa SHA1 15a75ae33e048a72bc00bd7ebb8f7d7db2811775 SHA256 8e48a335cebddc3f82af95bd826717b30e53164559f92124c20442eafac869e0
-DIST SFST-1.1.tar.gz 469807 RMD160 da811f26730f25c452a983b561d11010f4fa8c1c SHA1 544e810b5104577670e2c5fa1f5377d05843e373 SHA256 5ab616dfe93c09f72c3a2b11502ef48de6b8db09a404564867d4d713086735cf
-DIST SFST-1.2.tar.gz 477057 RMD160 a51a65c7b3c44b3d564f38d010b0b7f079e66c00 SHA1 815c5ff44bbf4ba0fc4ab650eeeaf180bf3c6e0e SHA256 597cc96f550b0cc02525c608c7113ab26d7c80758c97bf60132ae500cc4da1d2
-DIST SFST-1.3.tar.gz 477603 RMD160 5a4daabaa1ba11c03ac0bd060493650f0723375e SHA1 838c19e22ea29d94d41c074c93d48f0188e48982 SHA256 c4bbd5b09e69bca2a8a2f9622eb7fbc312b53397cbda21bb94e8161b899c3520
-DIST sfst.el 4752 RMD160 b322b17fc4a0b9d22938af5438524cfac18f7a02 SHA1 779b36a5f60ea6ff6894950f82cce186397a6802 SHA256 b47ff59f5ff24482dbbb2f1e71a8b9ca234c4154487f83eb2118f1a62bb9eb5f
-DIST vim-mode.tar.gz 1104 RMD160 c7e3f79fb5bd466724c3d456a92fbeb07d355515 SHA1 83b9651a7e4ca9642b16be416e616734e8c3f88c SHA256 a62ba91c40da75be389a334db62cc2b4904bedfac657b185012b10f3f55dfe09
+MISC metadata.xml 493 RMD160 ea55577c02d3767473d78e1e2b00cd8b556b9a13 SHA1 2a237598bbecb05fe3f58923c084cf8b12cbe52e SHA256 7b452c2e5e1db167cf8064c8620a80101a4f5e8c655efff6e3e34de20ed98e73
EBUILD sfst-1.1.ebuild 1835 RMD160 3e64bed7598acbd3ae730080aa5aa7b48f13985a SHA1 0b51f9ecf32c4f95fc9b262de3ddf51571b3e63d SHA256 e0bafa4204212c14209a663d856ffe69e93779f12533345472e1abf120dda4ce
EBUILD sfst-1.2.ebuild 1841 RMD160 b03952bc60a390b63bcec031e878c41742293965 SHA1 0fea341e08390c19ed62c1dd69589e4a817cc832 SHA256 6f108c3339c03f2373838fb7c228c6dcd9a973a13fc137314c683b2934259315
EBUILD sfst-1.3.ebuild 1909 RMD160 4316e8bde69e402c7f8fdb011450eaab2bce039c SHA1 2d08380736d4a5f3c21ff18bfa7ab9afc2a57b1c SHA256 f5e8c12e258b1fba49f1bfcdffcc8ea2f577feb12a740b789a21c24dc044843c
-MISC ChangeLog 687 RMD160 91ce1d4a0974aeb9902a290cc766911479f28cc0 SHA1 37d5e4edd88016ca9974ada51ec811aa2bb425ec SHA256 dd00b97b19814589b0a8c5b9712e14c3b6766c8daa8cbf34f9d4cb267faaab6a
-MISC metadata.xml 493 RMD160 ea55577c02d3767473d78e1e2b00cd8b556b9a13 SHA1 2a237598bbecb05fe3f58923c084cf8b12cbe52e SHA256 7b452c2e5e1db167cf8064c8620a80101a4f5e8c655efff6e3e34de20ed98e73
+EBUILD sfst-1.4.ebuild 2008 RMD160 e7c798ea076ea259aa96e257b119e36c84f9b722 SHA1 799d95af2e310572e0af1caba50ecfba0fa77bc5 SHA256 aa4c75d5eae557e3a1552e31c241c2b5349cb114d0f968697a89e4209918aafc
+DIST SFST-1.4.tar.gz 488415 RMD160 5201ed6a7c571cb1532f2b531507da706796ba47 SHA1 e23f680f388d9db2aebdfd37956a1127caf86ae2 SHA256 b2d29e121ddcce28540aadcc16e8d7f671705e20f6294a3cf194b5d3055a4cc9
+DIST vim-mode.tar.gz 1104 RMD160 c7e3f79fb5bd466724c3d456a92fbeb07d355515 SHA1 83b9651a7e4ca9642b16be416e616734e8c3f88c SHA256 a62ba91c40da75be389a334db62cc2b4904bedfac657b185012b10f3f55dfe09
+DIST sfst.el 4752 RMD160 b322b17fc4a0b9d22938af5438524cfac18f7a02 SHA1 779b36a5f60ea6ff6894950f82cce186397a6802 SHA256 b47ff59f5ff24482dbbb2f1e71a8b9ca234c4154487f83eb2118f1a62bb9eb5f
+DIST SFST-1.1.tar.gz 474747 RMD160 91c7bf5f39d97225ff6fb315f4308e584380d882 SHA1 6aec4935b6479990199b2ec8b6ff75c382fb6236 SHA256 10792517303cdae430c13990e655c8332fe78fed177623e52746fd51074e0be9
+DIST SFST-1.2.tar.gz 470537 RMD160 00674aac48bd7d69ab19a247ce74b07b1159740b SHA1 527d13c6526f212ac036c32d0a0343309e92350a SHA256 4c3e99d1250e969904b21114b1d5cb30f6f9f1141455639047ff8289b3b3bb26
+DIST SFST-1.3.tar.gz 470992 RMD160 ae767b482d453fc8ca78f36ae6340fdea545064c SHA1 642f9c0cacc9a248aae05b2e87ed4cd58b936ffa SHA256 4a6ef3e0dab446598b7471de8d45550e2e131e96cde714df47b4070d4c1326b2
diff --git a/sci-misc/sfst/sfst-1.4.ebuild b/sci-misc/sfst/sfst-1.4.ebuild
new file mode 100644
index 000000000..a2b433951
--- /dev/null
+++ b/sci-misc/sfst/sfst-1.4.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils elisp
+
+MY_PN="SFST"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Uni Stuttgart Finite State Transducer tools"
+HOMEPAGE="http://www.ims.uni-stuttgart.de/projekte/gramotron/SOFTWARE/SFST.html"
+SRC_URI="ftp://ftp.ims.uni-stuttgart.de/pub/corpora/${MY_PN}/${MY_P}.tar.gz
+vim-syntax? ( ftp://ftp.ims.uni-stuttgart.de/pub/corpora/${MY_PN}/vim-mode.tar.gz )
+emacs? ( http://www.cis.uni-muenchen.de/~wastl/emacs/sfst.el )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="vim-syntax emacs"
+
+DEPEND="sys-libs/readline
+sys-devel/bison
+sys-devel/flex
+sys-apps/sed"
+RDEPEND="sys-libs/readline"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_unpack() {
+ unpack ${A}
+ # settings in makefile are a bit hacky
+ #epatch "${FILESDIR}"/SFST-1.3-gcc43.patch || die "patch failed"
+ sed -i -e "s/^CFLAGS = -O3/CFLAGS = ${CFLAGS}/g" \
+ -e "s/local//g" \
+ -e 's/strip/echo strip removed: /g' \
+ "${S}"/src/Makefile || die "sed failed"
+ cd "${S}"
+ if use emacs ; then
+ cp "${DISTDIR}/sfst.el" "${S}"
+ fi
+ if use vim-syntax ; then
+ mv "${WORKDIR}"/INSTALL "${S}"/INSTALL-vim-syntax
+ mv "${WORKDIR}"/sfst.vim "${S}"/
+ fi
+}
+
+src_compile() {
+ cd "${S}/src"
+ emake || die "make failed"
+ if use emacs ; then
+ cd "${S}"
+ elisp_src_compile
+ fi
+}
+
+src_install() {
+ cd "${S}/src"
+ # destdir works but prefix fails, lib fails
+ emake DESTDIR="${D}" install maninstall || die "install failed"
+ emake libsfst.so || die "make lib failed"
+ dolib.so libsfst.so || die "install lib failed"
+ cd "${S}"
+ dodoc README || die "doc failed"
+ insinto /usr/share/doc/${PF}/
+ doins doc/SFST-Manual.pdf doc/SFST-Tutorial.pdf || die "doc failed"
+ insinto /usr/share/${PN}
+ doins -r data/*
+ if use vim-syntax ; then
+ insinto /usr/share/vim/vimfiles/syntax/
+ doins sfst.vim
+ insinto /usr/share/vim/vimfiles/ftdetect/
+ newins "${FILESDIR}"/ftdetect-sfst.vim sfst.vim
+ dodoc INSTALL-vim-syntax
+ fi
+ if use emacs ; then
+ elisp_src_install
+ fi
+}