blob: 725dad78f313eb0f3f05d556167e31865020392f (
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-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/btyacc/btyacc-3.0.ebuild,v 1.8 2008/10/31 06:19:16 wormo Exp $
inherit eutils
MY_P=${P/./-}
IUSE=""
DESCRIPTION="Backtracking YACC - modified from Berkeley YACC"
HOMEPAGE="http://www.siber.com/btyacc"
SRC_URI="http://www.siber.com/btyacc/${MY_P}.tar.gz"
LICENSE="freedist"
SLOT="0"
KEYWORDS="x86 ppc"
DEPEND="virtual/libc"
S="${WORKDIR}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-includes.patch"
}
src_compile() {
emake CFLAGS="${CFLAGS}" LDFLAGS= || die
}
src_install() {
dobin btyacc
dodoc README README.BYACC
newman manpage btyacc.1
}
|