# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 DESCRIPTION="Tools for generating recursive-descent parsers" HOMEPAGE="http://piumarta.com/software/peg/" SRC_URI="http://piumarta.com/software/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~x86" IUSE="" src_prepare() { # for QA, we remove the Makefiles usage of strip sed -i -e "s:^\tstrip*.::" Makefile \ || die "sed can't fix stripping of files" } src_compile() { emake "CFLAGS=${CFLAGS}" } src_install() { dodir /usr/bin emake PREFIX="${D}/usr" install }