diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-lua/say |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-lua/say')
-rw-r--r-- | dev-lua/say/Manifest | 5 | ||||
-rw-r--r-- | dev-lua/say/metadata.xml | 18 | ||||
-rw-r--r-- | dev-lua/say/say-1.3_p1-r1.ebuild | 39 | ||||
-rw-r--r-- | dev-lua/say/say-1.3_p1.ebuild | 29 |
4 files changed, 91 insertions, 0 deletions
diff --git a/dev-lua/say/Manifest b/dev-lua/say/Manifest new file mode 100644 index 000000000000..e0cfc5982769 --- /dev/null +++ b/dev-lua/say/Manifest @@ -0,0 +1,5 @@ +DIST say-1.3_p1.tar.gz 3667 SHA256 23e8cd378bb4ab1693279100a785acb2246418e3570b7de7d995b5847b3507ca SHA512 8d4a360bf0731c2a70c23edb9e6e81cab1e7d9b861aa35103a5c6e521633410860d76c46dc2ea62a06ac8ab3b522bc71c11143d6fe7e26e7fa24dd3f5ea1e5f6 WHIRLPOOL fd5a8f65e297151d55595f501e407796126caa02f5d22b5d1b0db2107277e6fc3b83ebb5189fb59cea7252f3111e4cf29ec3d57137b6beba7ab81583f5f57100 +EBUILD say-1.3_p1-r1.ebuild 844 SHA256 cf4762260689d63b2c620622863b7974daf3c57f2dfa8bd8c69ff83436b52d3f SHA512 6b8b21095f735a701fda9ddca9264b9f72f0634438babc436a5f3d862e4a60ac7dc4856801ece04e7925d7f982f79de371edc40db8ae11e62ff624448d84f217 WHIRLPOOL 745e4c9c550e85bd9c7438cd2c0f3cae645d9e566c58baba6be61c259b966cf0c0e963e1f228f62efe92099bd66b1e7dae8c467c6d5e38764df177e58d810ccf +EBUILD say-1.3_p1.ebuild 664 SHA256 e6d4e9c9c42860cdaf9258cfd6ea4d7adec2fcd722617fd3b31fc0d4963c4776 SHA512 348ac3a993aeee0c570dabdf7fc632c8532801620ce384f1b1b8f18b75ee20b6894f0ac1fc0a4d646e6be38df6136f88631f37e26a79275c6f27d8314a486ba8 WHIRLPOOL cdb1bc44997bd0dcfe719a90224b2bb9f13260f9d04182f01537c3b0b49b04357adb5f4e88d637a7779b393a593cff2d582ef29cc250344725d0835303217beb +MISC ChangeLog 938 SHA256 3400632cfb65cddbd81531f7c90fec7181b5c9724528d26cf798a17a8e42e1c8 SHA512 431c5ab4cfe39a3e3cd12fb4035252b13e5885ddb8f29dd3d728711184fc0d31be23d0c119e506899aa85e347855ec6617187508224331d4559e1a28a7c8f711 WHIRLPOOL 0980eae0b7aabb29eb75951038d3dee87cfdeebe50df83908eec582620007b4ecfecd74bfd6131bbbd3af198fb226f96b57df356101135de6ee91fe8579d64bd +MISC metadata.xml 525 SHA256 6996b7e87724a449156040e64a93713aa9b40cf3d6203ab4e5540431eb2d5cd5 SHA512 72c26b94a9aa6e442740eb50a8ba85f243ed8c013a892a83b1e59233e423258e1ecdc14b8b2d95c097b93c0838c5d1378640546f4baca6657636c6dee13f0abc WHIRLPOOL b884c82c8bd4e25729c0fe837c3562b2d6342d440f62ff1bbcb880759a035a4920c8a185dceb4f252a4bfe4e70ee32a46bffb515fcd1975dc4986a2192607356 diff --git a/dev-lua/say/metadata.xml b/dev-lua/say/metadata.xml new file mode 100644 index 000000000000..382dfdc0f2bd --- /dev/null +++ b/dev-lua/say/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>williamh@gentoo.org</email> + <name>William Hubbs</name> + </maintainer> + <longdescription lang="en"> + Useful for internationalization. + </longdescription> + <use> + <flag name="luajit">Use <pkg>dev-lang/luajit</pkg> instead of + <pkg>dev-lang/lua</pkg></flag> + </use> + <upstream> + <remote-id type="github">Olivine-Labs/say</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-lua/say/say-1.3_p1-r1.ebuild b/dev-lua/say/say-1.3_p1-r1.ebuild new file mode 100644 index 000000000000..e5c2c5512d0e --- /dev/null +++ b/dev-lua/say/say-1.3_p1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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 ~x86" +IUSE="luajit test" + +RDEPEND=" + !luajit? ( >=dev-lang/lua-5.1:= ) + luajit? ( dev-lang/luajit:2 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( dev-lua/busted )" + +DOCS=( CONTRIBUTING.md README.md ) + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_test() { + busted -o gtest || die +} + +src_install() { + local instdir + instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))"/${PN} + insinto "${instdir#${EPREFIX}}" + doins src/init.lua + einstalldocs +} 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..edf21e39b467 --- /dev/null +++ b/dev-lua/say/say-1.3_p1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 x86" +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 +} |