summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <junghans@gentoo.org>2016-12-05 17:21:29 -0700
committerChristoph Junghans <junghans@gentoo.org>2016-12-05 17:22:14 -0700
commit5e790fedf0086cbcd5f1f27cffb062d8e1a28552 (patch)
tree7d20e00b8d7b72da179f717764725d5bc5c11b00 /dev-libs/pegtl
parentdev-ruby/facter: partial fix for bug 601746 (diff)
downloadgentoo-5e790fedf0086cbcd5f1f27cffb062d8e1a28552.tar.gz
gentoo-5e790fedf0086cbcd5f1f27cffb062d8e1a28552.tar.bz2
gentoo-5e790fedf0086cbcd5f1f27cffb062d8e1a28552.zip
dev-libs/pegtl: initial commit
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-libs/pegtl')
-rw-r--r--dev-libs/pegtl/Manifest1
-rw-r--r--dev-libs/pegtl/metadata.xml12
-rw-r--r--dev-libs/pegtl/pegtl-1.3.1.ebuild35
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/pegtl/Manifest b/dev-libs/pegtl/Manifest
new file mode 100644
index 000000000000..49db8645ceed
--- /dev/null
+++ b/dev-libs/pegtl/Manifest
@@ -0,0 +1 @@
+DIST pegtl-1.3.1.tar.gz 67183 SHA256 34201d56284a449c72798a0536020c6b46684c371a0a886f4c3c586c9372e9bc SHA512 6655be7806112878e2da00916b348c28939bc96e2a317eb00089be341fd5306ce5a1388ca5dbba21bcd7be2d6c24e3964b6a730031a16a7dd8ef6ec6acd6899e WHIRLPOOL b5582ac29ad6c1b24ee8f9c4c525c8c944fbe9e8d38a45353ae01574c479a2f70a0ac75271e58cc6332780594224524fc5dca7f36fa170f2b5b283bcb3728280
diff --git a/dev-libs/pegtl/metadata.xml b/dev-libs/pegtl/metadata.xml
new file mode 100644
index 000000000000..903883b48f16
--- /dev/null
+++ b/dev-libs/pegtl/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>junghans@gentoo.org</email>
+ <name>Christoph Junghans</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-libs/pegtl/pegtl-1.3.1.ebuild b/dev-libs/pegtl/pegtl-1.3.1.ebuild
new file mode 100644
index 000000000000..bc30be5534a8
--- /dev/null
+++ b/dev-libs/pegtl/pegtl-1.3.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="header-only library for creating parsers according to Parsing Expression Grammar"
+HOMEPAGE="https://github.com/ColinH/PEGTL"
+SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/PEGTL-${PV}"
+
+src_compile() {
+ :
+}
+
+src_test() {
+ emake CXX="$(tc-getCXX)" PEGTL_CXXFLAGS="${CXXFLAGS}"
+}
+
+src_install() {
+ dodoc README.md
+ insinto /usr/include
+ doins -r pegtl
+}