Gentoo Archives: gentoo-commits

From: Flammie Pirinen <flammie@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-misc/foma/
Date: Tue, 31 Jul 2012 23:50:45
Message-Id: 1343778322.052328668bc99a72b6b383e7517456c08c0bd4cd.flammie@gentoo
1 commit: 052328668bc99a72b6b383e7517456c08c0bd4cd
2 Author: Flammie Pirinen <flammie <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 31 23:45:22 2012 +0000
4 Commit: Flammie Pirinen <flammie <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 31 23:45:22 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=05232866
7
8 Bump foma to version 0.9.16alpha.
9
10 (Portage version: 2.1.10.65/git/Linux i686, unsigned Manifest commit)
11
12 ---
13 sci-misc/foma/ChangeLog | 7 ++++-
14 sci-misc/foma/foma-0.9.16_alpha.ebuild | 47 ++++++++++++++++++++++++++++++++
15 2 files changed, 53 insertions(+), 1 deletions(-)
16
17 diff --git a/sci-misc/foma/ChangeLog b/sci-misc/foma/ChangeLog
18 index 4918b47..f5af3ae 100644
19 --- a/sci-misc/foma/ChangeLog
20 +++ b/sci-misc/foma/ChangeLog
21 @@ -1,7 +1,12 @@
22 # ChangeLog for sci-misc/foma
23 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
24 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
25 # $Header: $
26
27 +*foma-0.9.16_alpha (31 Jul 2012)
28 +
29 + 31 Jul 2012; Flammie Pirinen <flammie@g.o> +foma-0.9.16_alpha.ebuild:
30 + Bump foma to version 0.9.16alpha, install headers
31 +
32 25 Oct 2011; Justin Lecher <jlec@g.o> metadata.xml:
33 Removed no-herd from herd tag in metadata.xml
34
35
36 diff --git a/sci-misc/foma/foma-0.9.16_alpha.ebuild b/sci-misc/foma/foma-0.9.16_alpha.ebuild
37 new file mode 100644
38 index 0000000..81c0503
39 --- /dev/null
40 +++ b/sci-misc/foma/foma-0.9.16_alpha.ebuild
41 @@ -0,0 +1,47 @@
42 +# Copyright 1999-2012 Gentoo Foundation
43 +# Distributed under the terms of the GNU General Public License v2
44 +# $Header: $
45 +
46 +EAPI=4
47 +
48 +MY_P=${P/_alpha/alpha}
49 +
50 +DESCRIPTION="Finite state toolkit compatible with Xerox tools"
51 +HOMEPAGE="http://code.google.com/p/foma/"
52 +SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tar.gz"
53 +
54 +LICENSE="GPL-2"
55 +SLOT="0"
56 +KEYWORDS="~x86"
57 +IUSE=""
58 +
59 +RDEPEND="
60 + sys-libs/libtermcap-compat
61 + sys-libs/readline"
62 +DEPEND="${RDEPEND}
63 + >=sys-devel/bison-2.3
64 + >=sys-devel/flex-2.5.35"
65 +
66 +S="${WORKDIR}/${PN}"
67 +
68 +src_prepare() {
69 + sed \
70 + -e "s/^CFLAGS =/CFLAGS = ${CFLAGS} -fPIC/" \
71 + -e 's/ltermcap/lcurses/' \
72 + -e 's/ldconfig/true/g' \
73 + -i Makefile || die
74 +}
75 +
76 +src_compile() {
77 + emake
78 + emake libfoma
79 +}
80 +
81 +src_install() {
82 + # since install target doesn't have DESTDIR
83 + dobin foma flookup cgflookup
84 + dolib.so libfoma.so.${PV/_alpha/}
85 + insinto /usr/include
86 + doins foma.h fomalib.h fomalibconf.h
87 + dodoc README README.symbols
88 +}