summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2015-03-08 16:57:50 +0000
committerTim Harder <radhermit@gentoo.org>2015-03-08 16:57:50 +0000
commit9b7e1e8d83203f40ca2efc3a32464da73661c5d7 (patch)
treed2fd057ebd76f9d1ab30bfac455491fe8bedde2a /dev-lua
parentRemove older versions. (diff)
downloadgentoo-2-9b7e1e8d83203f40ca2efc3a32464da73661c5d7.tar.gz
gentoo-2-9b7e1e8d83203f40ca2efc3a32464da73661c5d7.tar.bz2
gentoo-2-9b7e1e8d83203f40ca2efc3a32464da73661c5d7.zip
Version bump.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/lpeg/ChangeLog9
-rw-r--r--dev-lua/lpeg/lpeg-0.12.2.ebuild42
2 files changed, 49 insertions, 2 deletions
diff --git a/dev-lua/lpeg/ChangeLog b/dev-lua/lpeg/ChangeLog
index ba39666d2209..cb70d4535fdd 100644
--- a/dev-lua/lpeg/ChangeLog
+++ b/dev-lua/lpeg/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lua/lpeg
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lua/lpeg/ChangeLog,v 1.9 2014/12/17 01:25:11 radhermit Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/lpeg/ChangeLog,v 1.10 2015/03/08 16:57:50 radhermit Exp $
+
+*lpeg-0.12.2 (08 Mar 2015)
+
+ 08 Mar 2015; Tim Harder <radhermit@gentoo.org> +lpeg-0.12.2.ebuild:
+ Version bump.
*lpeg-0.12.1 (17 Dec 2014)
diff --git a/dev-lua/lpeg/lpeg-0.12.2.ebuild b/dev-lua/lpeg/lpeg-0.12.2.ebuild
new file mode 100644
index 000000000000..f1edc67771e1
--- /dev/null
+++ b/dev-lua/lpeg/lpeg-0.12.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/lpeg/lpeg-0.12.2.ebuild,v 1.1 2015/03/08 16:57:50 radhermit Exp $
+
+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 ~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
+
+ use doc && dohtml *
+}