diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2008-08-04 17:53:28 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2008-08-04 17:53:28 +0000 |
commit | ab1e0dbb63180e15fc6d06d27a17b562f08fc57e (patch) | |
tree | aa58484d80b32948f6939952f9ce87954fb11335 /dev-util/re2c/re2c-0.13.5.ebuild | |
parent | Sparc stable, 30 day probation finished. (diff) | |
download | gentoo-2-ab1e0dbb63180e15fc6d06d27a17b562f08fc57e.tar.gz gentoo-2-ab1e0dbb63180e15fc6d06d27a17b562f08fc57e.tar.bz2 gentoo-2-ab1e0dbb63180e15fc6d06d27a17b562f08fc57e.zip |
Bump, with the blessings of robbat2 from IRC. Fix unquoted variable to please repoman.
(Portage version: 2.2_rc6/cvs/Linux 2.6.25.8 i686)
Diffstat (limited to 'dev-util/re2c/re2c-0.13.5.ebuild')
-rw-r--r-- | dev-util/re2c/re2c-0.13.5.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-util/re2c/re2c-0.13.5.ebuild b/dev-util/re2c/re2c-0.13.5.ebuild new file mode 100644 index 000000000000..6160581bf028 --- /dev/null +++ b/dev-util/re2c/re2c-0.13.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/re2c/re2c-0.13.5.ebuild,v 1.1 2008/08/04 17:53:28 loki_val Exp $ + +inherit eutils + +DESCRIPTION="tool for generating C-based recognizers from regular expressions" +HOMEPAGE="http://re2c.sourceforge.net/" +MY_PV="${PV/_/.}" +MY_P="${PN}-${MY_PV}" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="virtual/libc" +DEPEND="${RDEPEND}" +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} || die + # Fix permissions + chmod -R u+rw "${S}" + EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-0.9.11-gcc41.patch +} + +src_compile() { + econf || die + emake -e || die +} + +src_install() { + dobin re2c || die "dobin failed" + doman re2c.1 || die "doman failed" + dodoc README CHANGELOG doc/* && \ + docinto examples && \ + dodoc examples/*.c examples/*.re || die "docs failed" +} |