# 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 }