diff options
author | Matt Turner <mattst88@gentoo.org> | 2018-06-04 19:42:59 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2018-06-04 19:45:55 -0700 |
commit | 67092dce4978a6df7e2d239409f7866e8fef0a59 (patch) | |
tree | f3ad1a56170ffbeb49e32eaafbb0b6c336ce5c0c /dev-util | |
parent | dev-util/ostree: fix XDG_* sandbox violation (bug 657346) (diff) | |
download | gentoo-67092dce4978a6df7e2d239409f7866e8fef0a59.tar.gz gentoo-67092dce4978a6df7e2d239409f7866e8fef0a59.tar.bz2 gentoo-67092dce4978a6df7e2d239409f7866e8fef0a59.zip |
dev-util/peg: Version bump 0.1.18
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/peg/Manifest | 1 | ||||
-rw-r--r-- | dev-util/peg/peg-0.1.18.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-util/peg/Manifest b/dev-util/peg/Manifest index aabc54fd3d8a..23b95064bf5a 100644 --- a/dev-util/peg/Manifest +++ b/dev-util/peg/Manifest @@ -1,3 +1,4 @@ DIST peg-0.1.13.tar.gz 55352 BLAKE2B 9b97304333d0386d7011a76638f33dcf5ce5753324a996163c5f66c770f1d67c50f96351e4947065af1e28e28300d8d26e8bc04b2d5b9e8562e6f3f3a82aa3a1 SHA512 fbec192daef2c72511cc17e6f7b301ac48d20746ac9843d61c05e8a069633c5fbc6d92155a94aad5094dc84a2f1bb92bc2b2aabaf6bc563d4401460f1047b3b0 DIST peg-0.1.15.tar.gz 56522 BLAKE2B cfc13761d4f3de3e4906abefc04fb732e7f30e0a1eb70dcab79de6001434866329cb4263fba68a5c8aac9dd895805d0de43dafa5a9e382c4c2e12fe90189676e SHA512 70b67d57c866c24cc9ceaf029e95bacba56def7ccb289233e3816c1f6f1f210dd8a729446df94d0424b5946959dbf9a33f81a5a95f7563a9dca460d6e2320018 +DIST peg-0.1.18.tar.gz 57776 BLAKE2B 3266db2009073ee95a7fe65f3969b06001669dca095a8b77cbef3293557f9919872b44b348ff3de53cf8a132fd414c265bf0da3f77f0da0391d6d53cf4ab9217 SHA512 ca2fb9088bf87955adf6f883370ddb7d5f6f3cae3605a871094317205a124cce4f7b9f83cf4662cb470e2c5a6977608b456eb1fad98022d7e40fc384d1fec0f8 DIST peg-0.1.9.tar.gz 38485 BLAKE2B 088520a98609fab2b3b419c6f7875daa20b7a3da65224301ee48b37494569f52dc1e574df503c6b53d63ebe250033e586fc91f615e1173a10b126c267bfe8816 SHA512 73d0776972243ca8cba348b63252dee837308df6d6b00d2a186396545b80cb798e3280a9af6a71d51d9ae8c381a518502f96cf3d0d651bcf0f2206276f29ed1e diff --git a/dev-util/peg/peg-0.1.18.ebuild b/dev-util/peg/peg-0.1.18.ebuild new file mode 100644 index 000000000000..3853be968a49 --- /dev/null +++ b/dev-util/peg/peg-0.1.18.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Recursive-descent parser generators for C" +HOMEPAGE="http://piumarta.com/software/peg/" +SRC_URI="http://piumarta.com/software/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_prepare() { + eapply_user + + sed -i \ + -e '/strip/d' \ + -e '/^CFLAGS/d' \ + -e 's/$(CC) $(CFLAGS) -o/$(CC) $(CFLAGS) $(LDFLAGS) -o/g' \ + Makefile || die "sed failed" +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" +} + +src_install() { + dodir "/usr/bin" + emake \ + ROOT="${D}" \ + PREFIX="/usr" \ + install + rm -rf "${D}/usr/man" || die "rm failed" + doman src/${PN}.1 +} + +src_test() { + emake check test \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" +} |