diff options
author | Tim Harder <radhermit@gentoo.org> | 2016-03-12 01:46:56 -0500 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2016-03-12 01:56:22 -0500 |
commit | 3c5d0af330c5d4008e4483837c8a7be89e2c430a (patch) | |
tree | e6a7753e9efb209901075530b02b1167e311bb16 /dev-lua | |
parent | dev-ruby/yard: add ruby23, fix tests (diff) | |
download | gentoo-3c5d0af330c5d4008e4483837c8a7be89e2c430a.tar.gz gentoo-3c5d0af330c5d4008e4483837c8a7be89e2c430a.tar.bz2 gentoo-3c5d0af330c5d4008e4483837c8a7be89e2c430a.zip |
dev-lua/lpeg: version bump to 1.0.0
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/lpeg/Manifest | 1 | ||||
-rw-r--r-- | dev-lua/lpeg/lpeg-1.0.0.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-lua/lpeg/Manifest b/dev-lua/lpeg/Manifest index e10d42255eec..851d00be389c 100644 --- a/dev-lua/lpeg/Manifest +++ b/dev-lua/lpeg/Manifest @@ -1,3 +1,4 @@ DIST lpeg-0.12.1.tar.gz 67519 SHA256 60c6752dd043034c01929b04dab377d139f53bc098710cf735be53dd603fa22a SHA512 8cd47e169ce97c2eb40b865b0ef975b7a8fc58de1bde504518d9396b2a12efd92e7b2cfa1ccca59dd6a0cc22444fd1915a09e0d17fe78ba2a59bc3748546f60c WHIRLPOOL 0053b5df6c71b4b99d32f00c16b6156d7c96b4298059a17b8233c253db874117afd8daf217e19f8688a809b6f19f2293bca855af0c10c916b9fa22b29d43ad4b DIST lpeg-0.12.2.tar.gz 68122 SHA256 6aad270b91d1b1c6fd75f68e162329a04a644e50e917d55f46cc8384b7120004 SHA512 81505674473d83e2c777d470cd6ba4eead48ecc32e58e52bc192ca7a167f882e722c5a0cae62937fb3f5f71d6216de1ba4ea3d932e72265028f293d778df5e9e WHIRLPOOL df86921662b812ede574a602e84bc0dc581006b5027f40f3a6c0e15e8ac03dbea40ab3b5c8417143a14a25e953f084818b80af317d17dacdda97283366c51632 DIST lpeg-0.12.tar.gz 66649 SHA256 efa545144cd219eee823af7624d90f78c2230677ba740b7151c5d0c303778b76 SHA512 bf8c4fe486f5e965b793d8526dd1fc5c8905c4b065a1abe52ec8e41ebbe48292315a7460dc56fb7a029b4673057f9da7e53854bb79bb54dd8a4378391efc24a2 WHIRLPOOL 3e131da888eff53fbfa6203ed363f34832c52fb0fafca9006dd1da956c89a76528dc9aaf255426a148497c55df74ccb72cf87e234f5c432c4e2c28a5dfd0a9a1 +DIST lpeg-1.0.0.tar.gz 70267 SHA256 10190ae758a22a16415429a9eb70344cf29cbda738a6962a9f94a732340abf8e SHA512 a245d2e0b8604121d8b4466052ab5da4f2b1f81c1c4b2579d8d5498920fc351d46fe4159a0b5948d1b377ef9bda410c4bf40ffd228b9f26bf346dfba2a7b9fb7 WHIRLPOOL 808b1ddc61402c707a829641051c9321030573e85e863a6463bd8f114e89576dc7566585ae331a8af6d1f970c29b4256141df90fa5fe3616bea5691040262498 diff --git a/dev-lua/lpeg/lpeg-1.0.0.ebuild b/dev-lua/lpeg/lpeg-1.0.0.ebuild new file mode 100644 index 000000000000..205c35ab459a --- /dev/null +++ b/dev-lua/lpeg/lpeg-1.0.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit flag-o-matic toolchain-funcs eutils multilib + +DESCRIPTION="Parsing Expression Grammars for Lua" +HOMEPAGE="http://www.inf.puc-rio.br/~roberto/lpeg/" +SRC_URI="http://www.inf.puc-rio.br/~roberto/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug doc" + +RDEPEND=">=dev-lang/lua-5.1:=" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.12.1-makefile.patch + use debug && append-cflags -DLPEG_DEBUG +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_test() { + lua test.lua || die +} + +src_install() { + exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)" + doexe lpeg.so + + dodoc HISTORY + + if use doc; then + docinto html + dodoc *.html + fi +} |