aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlammie Pirinen <flammie@gentoo.org>2011-05-10 01:58:04 +0300
committerFlammie Pirinen <flammie@gentoo.org>2011-05-10 01:58:04 +0300
commitf6a5ac32d4b1c8d68df83f6e182939dbceda5676 (patch)
tree6d20ef59b4dcc171371f0131b2903d87135a119e /sci-misc/foma/foma-0.9.14_alpha.ebuild
parentVersion bump. (diff)
downloadsci-f6a5ac32d4b1c8d68df83f6e182939dbceda5676.tar.gz
sci-f6a5ac32d4b1c8d68df83f6e182939dbceda5676.tar.bz2
sci-f6a5ac32d4b1c8d68df83f6e182939dbceda5676.zip
Version bump.
(Portage version: 2.1.9.42/git/Linux i686, unsigned Manifest commit)
Diffstat (limited to 'sci-misc/foma/foma-0.9.14_alpha.ebuild')
-rw-r--r--sci-misc/foma/foma-0.9.14_alpha.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/sci-misc/foma/foma-0.9.14_alpha.ebuild b/sci-misc/foma/foma-0.9.14_alpha.ebuild
new file mode 100644
index 000000000..93616abe6
--- /dev/null
+++ b/sci-misc/foma/foma-0.9.14_alpha.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+MY_P=${P/_alpha/alpha}
+
+DESCRIPTION="Finite state toolkit compatible with Xerox tools"
+
+HOMEPAGE="http://foma.sf.net/"
+
+SRC_URI="http://dingo.sbs.arizona.edu/~mhulden/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+
+SLOT="0"
+
+KEYWORDS="~x86"
+
+IUSE=""
+
+DEPEND=">=sys-devel/bison-2.3
+ >=sys-devel/flex-2.5.35
+ sys-libs/readline
+ sys-libs/libtermcap-compat"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i -e "s/^CFLAGS =/CFLAGS = ${CFLAGS} -fPIC/" \
+ -e 's/ltermcap/lcurses/' \
+ -e 's/ldconfig/true/g' Makefile
+}
+
+src_compile() {
+ emake || die "make failed"
+ emake libfoma || die "library failed"
+}
+
+src_install() {
+ dobin foma || die "installing binaries failed"
+ dolib.so libfoma.so.0.9.14
+ dodoc README README.symbols || die "installing docs failed"
+}