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

Contents of /dev-util/ragel/ragel-6.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (show annotations) (download)
Sat Apr 23 17:35:19 2011 UTC (3 years, 2 months ago) by armin76
Branch: MAIN
Changes since 1.14: +2 -2 lines
alpha stable

(Portage version: 2.1.9.45/cvs/Linux ia64)

1 # Copyright 1999-2011 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.6.ebuild,v 1.14 2011/03/07 12:05:27 armin76 Exp $
4
5 EAPI="3"
6
7 DESCRIPTION="Compiles finite state machines from regular languages into executable code."
8 HOMEPAGE="http://www.complang.org/ragel/"
9 SRC_URI="http://www.complang.org/ragel/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
14 IUSE="vim-syntax"
15
16 DEPEND=""
17 RDEPEND=""
18
19 # We need to get the txl language in Portage to have the tests :(
20 RESTRICT=test
21
22 src_configure() {
23 econf --docdir="${EPREFIX}"/usr/share/doc/${PF} || die "econf failed"
24 }
25
26 src_test() {
27 cd "${S}"/test
28 ./runtests.in || die
29 }
30
31 src_install() {
32 emake DESTDIR="${D}" install || die "make install failed"
33 dodoc ChangeLog CREDITS README TODO || die "dodoc failed"
34
35 if use vim-syntax; then
36 insinto /usr/share/vim/vimfiles/syntax
37 doins ragel.vim || die "doins ragel.vim failed"
38 fi
39 }

  ViewVC Help
Powered by ViewVC 1.1.20