/[gentoo-x86]/dev-util/ragel/ragel-6.7-r1.ebuild
Gentoo

Contents of /dev-util/ragel/ragel-6.7-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Mon Jan 28 15:01:43 2013 UTC (2 years, 7 months ago) by aballier
Branch: MAIN
Changes since 1.11: +2 -2 lines
keyword ~amd64-fbsd

(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 160F534A)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/ragel/ragel-6.7-r1.ebuild,v 1.11 2013/01/26 17:37:14 grobian Exp $
4
5 EAPI=4
6
7 inherit eutils autotools
8
9 DESCRIPTION="Compiles finite state machines from regular languages into executable code."
10 HOMEPAGE="http://www.complang.org/ragel/"
11 SRC_URI="http://www.complang.org/ragel/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
16 IUSE="vim-syntax"
17
18 DEPEND=""
19 RDEPEND=""
20
21 # We need to get the txl language in Portage to have the tests :(
22 RESTRICT=test
23
24 DOCS=( ChangeLog CREDITS README TODO )
25
26 src_prepare() {
27 epatch "${FILESDIR}"/${P}+gcc-4.7.patch
28 sed -i -e '/CXXFLAGS/d' configure.in || die
29
30 eautoreconf
31 }
32
33 src_configure() {
34 econf --docdir="${EPREFIX}"/usr/share/doc/${PF}
35 }
36
37 src_test() {
38 cd "${S}"/test
39 ./runtests.in || die
40 }
41
42 src_install() {
43 default
44
45 if use vim-syntax; then
46 insinto /usr/share/vim/vimfiles/syntax
47 doins ragel.vim || die "doins ragel.vim failed"
48 fi
49 }

  ViewVC Help
Powered by ViewVC 1.1.20