diff options
author | Rafael Martins <rafaelmartins@gentoo.org> | 2013-02-24 03:07:34 +0000 |
---|---|---|
committer | Rafael Martins <rafaelmartins@gentoo.org> | 2013-02-24 03:07:34 +0000 |
commit | c58dfe325267622047bf3b69bc5d9973bd8c221e (patch) | |
tree | fd6cbd21db12a35050e220040bc531b27f5af8e0 /dev-util/peg | |
parent | Initial commit. (diff) | |
download | historical-c58dfe325267622047bf3b69bc5d9973bd8c221e.tar.gz historical-c58dfe325267622047bf3b69bc5d9973bd8c221e.tar.bz2 historical-c58dfe325267622047bf3b69bc5d9973bd8c221e.zip |
Initial commit.
Package-Manager: portage-2.2.0_alpha163/cvs/Linux x86_64
Diffstat (limited to 'dev-util/peg')
-rw-r--r-- | dev-util/peg/Manifest | 4 | ||||
-rw-r--r-- | dev-util/peg/metadata.xml | 9 | ||||
-rw-r--r-- | dev-util/peg/peg-0.1.9.ebuild | 39 |
3 files changed, 50 insertions, 2 deletions
diff --git a/dev-util/peg/Manifest b/dev-util/peg/Manifest index 4aab881f52e3..1158b448fb00 100644 --- a/dev-util/peg/Manifest +++ b/dev-util/peg/Manifest @@ -1,4 +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 +EBUILD peg-0.1.9.ebuild 868 SHA256 2e6bb72acce85e08771a8315a91a71d4cbff7a9e4b421f7a79c2c758de48c995 SHA512 232e90b72e151d00428902d8a006bb3722abef1ffe338dcaf966070b77782e602c07acb6c31906bfd8b94f0acd9f4e720093de9228fbb6fda6f24d8197f9a8ca WHIRLPOOL 90c72915665085f09b5801e066e62f970f6dcb2c3717e0451d5ad2d634392a3ba3d0cb0f2bca159b1fee203dc51d008939b57effb56feabfc51197eb27679389 +MISC ChangeLog 345 SHA256 09542b0d11da7df856895075065068d62b98911300cc14ac0b40f9f75fd5b465 SHA512 7573f84a39252bbe47121d0f4c63a86bafcc4d4f018c57741a2a29948a95dfab9a2efba918086c521050bc03fa8acaada0fb811d8384b33c01774bb5f2e60fe5 WHIRLPOOL 95dcc09d9973349581cc015df3bee47a6c577185ce51e7d8fdd65b00c8e7474cd878addf994464d61ede60c9ec8158094d05ac3887d56a08592e48bd5b1211c1 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 +} |