Skip to content

Commit

Permalink
dev-lua/say: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
williamh committed Nov 11, 2015
1 parent 31a2357 commit c2505de
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-lua/say/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST say-1.3_p1.tar.gz 3667 SHA256 23e8cd378bb4ab1693279100a785acb2246418e3570b7de7d995b5847b3507ca SHA512 8d4a360bf0731c2a70c23edb9e6e81cab1e7d9b861aa35103a5c6e521633410860d76c46dc2ea62a06ac8ab3b522bc71c11143d6fe7e26e7fa24dd3f5ea1e5f6 WHIRLPOOL fd5a8f65e297151d55595f501e407796126caa02f5d22b5d1b0db2107277e6fc3b83ebb5189fb59cea7252f3111e4cf29ec3d57137b6beba7ab81583f5f57100
11 changes: 11 additions & 0 deletions dev-lua/say/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>[email protected]</email>
<name>William Hubbs</name>
</maintainer>
<longdescription lang="en">
Useful for internationalization.
</longdescription>
</pkgmetadata>
30 changes: 30 additions & 0 deletions dev-lua/say/say-1.3_p1.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit c2505de

Please sign in to comment.