* [gentoo-commits] proj/lua:master commit in: dev-lua/cbor/
@ 2016-12-28 7:05 Vadim A. Misbakh-Soloviov
0 siblings, 0 replies; only message in thread
From: Vadim A. Misbakh-Soloviov @ 2016-12-28 7:05 UTC (permalink / raw
To: gentoo-commits
commit: 4b76e7a4154f3f6ce332dc2ecca0464b5cb094b2
Author: Vadim A. Misbakh-Soloviov <git <AT> mva <DOT> name>
AuthorDate: Wed Dec 28 07:05:18 2016 +0000
Commit: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Wed Dec 28 07:05:18 2016 +0000
URL: https://gitweb.gentoo.org/proj/lua.git/commit/?id=4b76e7a4
cbor: added
dev-lua/cbor/cbor-9999.ebuild | 39 +++++++++++++++++++++++++++++++++++++++
dev-lua/cbor/metadata.xml | 14 ++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/dev-lua/cbor/cbor-9999.ebuild b/dev-lua/cbor/cbor-9999.ebuild
new file mode 100644
index 0000000..aa3f9f5
--- /dev/null
+++ b/dev-lua/cbor/cbor-9999.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VCS="git"
+GITHUB_A="spc476"
+GITHUB_PN="${PN^^}"
+inherit lua
+
+DESCRIPTION="The most comprehensive CBOR module in the Lua universe"
+HOMEPAGE="https://github.com/spc476/CBOR"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="doc +examples"
+
+RDEPEND="
+ || (
+ dev-lua/lpeg
+ dev-lua/lulpeg[lpeg_replace]
+ )
+"
+DEPEND="
+ ${RDEPEND}
+"
+
+EXAMPLES=( test.lua test_s.lua )
+DOCS=(README)
+
+all_lua_prepare() {
+ sed -r \
+ -e 's@^(prefix).*@\1=/usr@' \
+ -e 's@(.*LUA_DIR.*/lua/.*shell )lua( -e "print.*)@\1${LUA_IMPL}\2@' \
+ -i Makefile
+
+ lua_default
+}
diff --git a/dev-lua/cbor/metadata.xml b/dev-lua/cbor/metadata.xml
new file mode 100644
index 0000000..23da526
--- /dev/null
+++ b/dev-lua/cbor/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>mva@mva.name</email>
+ <description>
+ If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet.
+ </description>
+ <name>Vadim A. Misbakh-Soloviov</name>
+</maintainer>
+<longdescription>FIXME</longdescription>
+<use>
+</use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-12-28 7:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-28 7:05 [gentoo-commits] proj/lua:master commit in: dev-lua/cbor/ Vadim A. Misbakh-Soloviov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox