summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJauhien Piatlicki <jauhien@gentoo.org>2014-05-09 21:47:14 +0000
committerJauhien Piatlicki <jauhien@gentoo.org>2014-05-09 21:47:14 +0000
commit70ef650f96d1456f865239599313a41c6520bce0 (patch)
tree38e4756506f39080b792c2320419131c0d19cb1c /dev-util/peg
parentVersion bump (diff)
downloadgentoo-2-70ef650f96d1456f865239599313a41c6520bce0.tar.gz
gentoo-2-70ef650f96d1456f865239599313a41c6520bce0.tar.bz2
gentoo-2-70ef650f96d1456f865239599313a41c6520bce0.zip
version bump / add me as maintainer
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB2EFA1D4)
Diffstat (limited to 'dev-util/peg')
-rw-r--r--dev-util/peg/ChangeLog10
-rw-r--r--dev-util/peg/metadata.xml5
-rw-r--r--dev-util/peg/peg-0.1.15.ebuild40
3 files changed, 52 insertions, 3 deletions
diff --git a/dev-util/peg/ChangeLog b/dev-util/peg/ChangeLog
index 4b22b229d662..983ae0a9d4c4 100644
--- a/dev-util/peg/ChangeLog
+++ b/dev-util/peg/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/peg
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/peg/ChangeLog,v 1.2 2013/09/22 02:56:06 rafaelmartins Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/peg/ChangeLog,v 1.3 2014/05/09 21:47:14 jauhien Exp $
+
+*peg-0.1.15 (09 May 2014)
+
+ 09 May 2014; Jauhien Piatlicki <jauhien@gentoo.org> +peg-0.1.15.ebuild,
+ metadata.xml:
+ version bump / add me as maintainer
*peg-0.1.13 (22 Sep 2013)
diff --git a/dev-util/peg/metadata.xml b/dev-util/peg/metadata.xml
index 6952befafef7..6971c1e19018 100644
--- a/dev-util/peg/metadata.xml
+++ b/dev-util/peg/metadata.xml
@@ -5,5 +5,8 @@
<email>rafaelmartins@gentoo.org</email>
<name>Rafael G. Martins</name>
</maintainer>
+ <maintainer>
+ <email>jauhien@gentoo.org</email>
+ <name>Jauhien Piatlicki</name>
+ </maintainer>
</pkgmetadata>
-
diff --git a/dev-util/peg/peg-0.1.15.ebuild b/dev-util/peg/peg-0.1.15.ebuild
new file mode 100644
index 000000000000..e1d7e5d2e07a
--- /dev/null
+++ b/dev-util/peg/peg-0.1.15.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/peg/peg-0.1.15.ebuild,v 1.1 2014/05/09 21:47:14 jauhien Exp $
+
+EAPI=5
+
+DESCRIPTION="Recursive-descent parser generators for C"
+HOMEPAGE="http://piumarta.com/software/peg/"
+SRC_URI="http://piumarta.com/software/${PN}/${PF}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+# FIXME: tests don't respect {C,LD}FLAGS and build stuff in runtime.
+RESTRICT="test"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i \
+ -e '/strip/d' \
+ -e '/^CFLAGS/d' \
+ -e 's/$(CFLAGS)/$(CFLAGS) $(LDFLAGS)/g' \
+ Makefile || die "sed failed"
+}
+
+src_install() {
+ mkdir -p "${D}/usr/bin" || die "mkdir failed"
+ emake ROOT="${D}" PREFIX="/usr" install
+ rm -rf "${D}/usr/man" || die "rm failed"
+ doman src/${PN}.1
+}
+
+src_test() {
+ emake check
+ emake test
+}