blob: f71311d514b5b677725362d9e6c124e742db4b6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/re2c/re2c-0.9.7.ebuild,v 1.1 2005/07/03 18:30:42 robbat2 Exp $
inherit eutils
DESCRIPTION="tool for generating C-based recognizers from regular expressions"
HOMEPAGE="http://re2c.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE=""
DEPEND=">=dev-util/byacc-1.9"
src_unpack() {
unpack ${A} || die
# Fix permissions
chmod -R u+rw ${S}
}
src_compile() {
econf || die
emake -e || die
}
src_install() {
dobin re2c || die "dobin failed"
doman re2c.1
dodoc README doc/*
}
|