summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Martins <rafaelmartins@gentoo.org>2013-02-24 03:07:25 +0000
committerRafael Martins <rafaelmartins@gentoo.org>2013-02-24 03:07:25 +0000
commit60aed2d74aaac642ff5c5a595bb0de9c2dacd9e6 (patch)
tree141227cdab193529a753637f01ea338c4313ba0d /dev-util/peg
parentoffice-runner-1.0 requires systemd. (diff)
downloadgentoo-2-60aed2d74aaac642ff5c5a595bb0de9c2dacd9e6.tar.gz
gentoo-2-60aed2d74aaac642ff5c5a595bb0de9c2dacd9e6.tar.bz2
gentoo-2-60aed2d74aaac642ff5c5a595bb0de9c2dacd9e6.zip
Initial commit.
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-util/peg')
-rw-r--r--dev-util/peg/ChangeLog10
-rw-r--r--dev-util/peg/Manifest4
-rw-r--r--dev-util/peg/metadata.xml9
-rw-r--r--dev-util/peg/peg-0.1.9.ebuild39
4 files changed, 62 insertions, 0 deletions
diff --git a/dev-util/peg/ChangeLog b/dev-util/peg/ChangeLog
new file mode 100644
index 000000000000..61dbf5fd7cbe
--- /dev/null
+++ b/dev-util/peg/ChangeLog
@@ -0,0 +1,10 @@
+# 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.1 2013/02/24 03:07:25 rafaelmartins Exp $
+
+*peg-0.1.9 (24 Feb 2013)
+
+ 24 Feb 2013; Rafael G. Martins <rafaelmartins@gentoo.org> +peg-0.1.9.ebuild,
+ +metadata.xml:
+ Initial commit.
+
diff --git a/dev-util/peg/Manifest b/dev-util/peg/Manifest
new file mode 100644
index 000000000000..4aab881f52e3
--- /dev/null
+++ b/dev-util/peg/Manifest
@@ -0,0 +1,4 @@
+DIST peg-0.1.9.tar.gz 38485 SHA256 81d9299f3ee9e12b78c993529185645edd4475f5da271bff65b13c61d776708f SHA512 73d0776972243ca8cba348b63252dee837308df6d6b00d2a186396545b80cb798e3280a9af6a71d51d9ae8c381a518502f96cf3d0d651bcf0f2206276f29ed1e WHIRLPOOL 2b3ff19f6028ae15e5cd6e1794e97892ea791da0f7a906d3ba45d1a478d7c0eaa1aa5432572e2dcfe03106f3d108bb5e02d3fbd9ee1c59f45d5c56ca56efa5a9
+EBUILD peg-0.1.9.ebuild 770 SHA256 00ff8abd8d83fecda3d19c870f2f15285f7040ab72513b7accb6154433f2343a SHA512 2444eafee1386e018889569701af4eb77b8d73f1b0c367bff816371b9e0b9a498f02f6086574d2cfe664c50af41506a35eb9a69c6ded3b6e09cfea3e93e56822 WHIRLPOOL 3df3e4aa8beede41d275b4be45c316b3b3af43117d30bc05f73e03c0e8cf8a8c1a114c646947c6c174f59d400b4163f4225bd0f659656b0d4b8c6395407e0f2c
+MISC ChangeLog 254 SHA256 40e205c41269c48c062bb11145019285073a6265b0464fd633ef432eca92587a SHA512 094367925730878564c4d6c0eddf4e56af317ef7b7c41a1c745a2ab8b9ab0ac701bb9b7481c2465bd138c16e581eeee11b3be5ad20a16ae5d66b007b33fcc012 WHIRLPOOL 4f6dcd40cd5d9ff08c6ccf4e317dc868a540e4a3cf58beff54c1253512dd774d073721e1167ade8319473619ac52faaa6d50fc865203417d0e951645be5f4ea8
+MISC metadata.xml 244 SHA256 7283317a6b41bed38b15ea92588323af4383debfdd8fc0c1766c0791172d0b31 SHA512 256a94e65f790ecb0bc7a76c679db31a0aabbdd3354075f090a6bc025b247946267f33670d67743a5e4ec9c7985b48e74f04a37a9685174f51fa65e952e13465 WHIRLPOOL 9c46b752a7ac24587d44d185ab97cad9b224f0268231decf05858adabb30bacc2e0083a467e5c4d630ac15be9d158476bd2642690949417b35a3d0f67bcf3e49
diff --git a/dev-util/peg/metadata.xml b/dev-util/peg/metadata.xml
new file mode 100644
index 000000000000..6952befafef7
--- /dev/null
+++ b/dev-util/peg/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>rafaelmartins@gentoo.org</email>
+ <name>Rafael G. Martins</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/dev-util/peg/peg-0.1.9.ebuild b/dev-util/peg/peg-0.1.9.ebuild
new file mode 100644
index 000000000000..97cbfa74f097
--- /dev/null
+++ b/dev-util/peg/peg-0.1.9.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/peg/peg-0.1.9.ebuild,v 1.1 2013/02/24 03:07:25 rafaelmartins 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
+ doman ${PN}.1
+}
+
+src_test() {
+ emake check
+ emake test
+}