diff options
author | Vadim A. Misbakh-Soloviov <git@mva.name> | 2016-12-28 14:05:18 +0700 |
---|---|---|
committer | Vadim A. Misbakh-Soloviov <git@mva.name> | 2016-12-28 14:05:18 +0700 |
commit | 4b76e7a4154f3f6ce332dc2ecca0464b5cb094b2 (patch) | |
tree | 63dc9315c68087f0630a80ac7006b2b15f88e49f | |
parent | lua.eclass: fix double calling of "default" (diff) | |
download | lua-4b76e7a4154f3f6ce332dc2ecca0464b5cb094b2.tar.gz lua-4b76e7a4154f3f6ce332dc2ecca0464b5cb094b2.tar.bz2 lua-4b76e7a4154f3f6ce332dc2ecca0464b5cb094b2.zip |
cbor: added
-rw-r--r-- | dev-lua/cbor/cbor-9999.ebuild | 39 | ||||
-rw-r--r-- | dev-lua/cbor/metadata.xml | 14 |
2 files changed, 53 insertions, 0 deletions
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> |