summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2015-11-10 12:47:44 -0600
committerWilliam Hubbs <williamh@gentoo.org>2015-11-11 11:39:25 -0600
commitc2505de3a5d467f34c4d8fb5acf1ff865f3a1ea6 (patch)
tree112cb7b5731403539a25e87576edd9d75b163268 /dev-lua/say
parentdev-lua/lua_cliargs: initial commit (diff)
downloadgentoo-c2505de3a5d467f34c4d8fb5acf1ff865f3a1ea6.tar.gz
gentoo-c2505de3a5d467f34c4d8fb5acf1ff865f3a1ea6.tar.bz2
gentoo-c2505de3a5d467f34c4d8fb5acf1ff865f3a1ea6.zip
dev-lua/say: initial commit
Diffstat (limited to 'dev-lua/say')
-rw-r--r--dev-lua/say/Manifest1
-rw-r--r--dev-lua/say/metadata.xml11
-rw-r--r--dev-lua/say/say-1.3_p1.ebuild30
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-lua/say/Manifest b/dev-lua/say/Manifest
new file mode 100644
index 000000000000..de4092925b08
--- /dev/null
+++ b/dev-lua/say/Manifest
@@ -0,0 +1 @@
+DIST say-1.3_p1.tar.gz 3667 SHA256 23e8cd378bb4ab1693279100a785acb2246418e3570b7de7d995b5847b3507ca SHA512 8d4a360bf0731c2a70c23edb9e6e81cab1e7d9b861aa35103a5c6e521633410860d76c46dc2ea62a06ac8ab3b522bc71c11143d6fe7e26e7fa24dd3f5ea1e5f6 WHIRLPOOL fd5a8f65e297151d55595f501e407796126caa02f5d22b5d1b0db2107277e6fc3b83ebb5189fb59cea7252f3111e4cf29ec3d57137b6beba7ab81583f5f57100
diff --git a/dev-lua/say/metadata.xml b/dev-lua/say/metadata.xml
new file mode 100644
index 000000000000..d593da1e2b89
--- /dev/null
+++ b/dev-lua/say/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
+ <longdescription lang="en">
+ Useful for internationalization.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-lua/say/say-1.3_p1.ebuild b/dev-lua/say/say-1.3_p1.ebuild
new file mode 100644
index 000000000000..ff54acc4cd4e
--- /dev/null
+++ b/dev-lua/say/say-1.3_p1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+MY_PV=1.3-1
+
+inherit toolchain-funcs
+
+DESCRIPTION="Lua String Hashing/Indexing Library"
+HOMEPAGE="http://olivinelabs.com/busted/"
+SRC_URI="https://github.com/Olivine-Labs/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+COMMON_DEPEND=">=dev-lang/lua-5.1:="
+DEPEND="${COMMON_DEPEND}
+virtual/pkgconfig"
+RDEPEND="${COMMON_DEPEND}"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_install() {
+ insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"/${PN}
+doins src/init.lua
+dodoc CONTRIBUTING.md README.md
+}