diff options
Diffstat (limited to 'dev-lua/inifile')
-rw-r--r-- | dev-lua/inifile/Manifest | 4 | ||||
-rw-r--r-- | dev-lua/inifile/inifile-1.0-r100.ebuild | 30 | ||||
-rw-r--r-- | dev-lua/inifile/inifile-1.0.ebuild | 30 | ||||
-rw-r--r-- | dev-lua/inifile/metadata.xml | 11 |
4 files changed, 75 insertions, 0 deletions
diff --git a/dev-lua/inifile/Manifest b/dev-lua/inifile/Manifest new file mode 100644 index 000000000000..3cc7f2a0814a --- /dev/null +++ b/dev-lua/inifile/Manifest @@ -0,0 +1,4 @@ +DIST inifile-1.0.tar.gz 2611 BLAKE2B cdda6d9b2de45b4bec4695029018e37fe22a993afe5a54df4f4c519457d00267338de5aa3379a72dc7ab962260cd39f49674c2685799e4ad5544fed938c1080b SHA512 d0a9aa825cd5cf4a3b0b562853f3593141f537388c3e3a4334317b2536aa2dd695bdea37058d3d907aad10162bb71ef5b324c769e65cbd18e4526e37275cb970 +EBUILD inifile-1.0-r100.ebuild 645 BLAKE2B 56872cb0ccc71574d19ab5f44acf2eccd10f4ee2feb39e2c2bb409c5867a451a4abd965aca6e10c6045aefbff3e31ed406f07dbec63127112669d502e7b1f93a SHA512 8f5844e8aa6936a8c702ef8f1d1734895395346858f01983e0843895d4837f230350547aa331c58be9a20df589202184f2598e5a962cf04c1c67c0e1a46e47cc +EBUILD inifile-1.0.ebuild 696 BLAKE2B 4f35c46a80b51447abb363ae09f1606865cb02c2abdfb418ea5f370826063c783234e4075728518f11c951423cf53c2fabf2a39b696aac0f7725484595bd5540 SHA512 5aff526d305006045861a5794b6d648553ceb14322d7976dd892a9f1568cf73e24071229de32224e6dbc49d169e24958cead64da07139d538812130ecc3437eb +MISC metadata.xml 330 BLAKE2B 950a8b8109efc12fe3c96d1a3a2d58371849a984e9894325b36155a3d734e8c2e644b974553e31e029d8622972d6f932a58879525e5179ad4eac9d19c0f70a6b SHA512 0bd7146b86660e03f10927c0a2efa7d6298d2345483a16dcad46fb8f2e0e8b9cdbceae2b8d9dc7c282987ee8e82210f2c27d01df4a958e6c981e807bcb4ce7c3 diff --git a/dev-lua/inifile/inifile-1.0-r100.ebuild b/dev-lua/inifile/inifile-1.0-r100.ebuild new file mode 100644 index 000000000000..89a8791ca127 --- /dev/null +++ b/dev-lua/inifile/inifile-1.0-r100.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..3} luajit ) +MY_PV="${PV/_p/-}" + +inherit lua + +DESCRIPTION="A simple and complete ini parser for Lua" +HOMEPAGE="https://github.com/bartbes/inifile/" +SRC_URI="https://github.com/bartbes/inifile/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +RDEPEND="${LUA_DEPS}" +BDEPEND="virtual/pkgconfig" + +lua_src_install() { + insinto $(lua_get_lmod_dir) + doins inifile.lua +} + +src_install() { + lua_foreach_impl lua_src_install +} diff --git a/dev-lua/inifile/inifile-1.0.ebuild b/dev-lua/inifile/inifile-1.0.ebuild new file mode 100644 index 000000000000..05056d9afbd7 --- /dev/null +++ b/dev-lua/inifile/inifile-1.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PV="${PV/_p/-}" + +inherit toolchain-funcs + +DESCRIPTION="A simple and complete ini parser for Lua" +HOMEPAGE="https://github.com/bartbes/inifile/" +SRC_URI="https://github.com/bartbes/inifile/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="luajit" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +RDEPEND=" + luajit? ( dev-lang/luajit:2 ) + !luajit? ( >=dev-lang/lua-5.1:= ) +" + +BDEPEND="virtual/pkgconfig" + +src_install() { + insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))" + doins inifile.lua +} diff --git a/dev-lua/inifile/metadata.xml b/dev-lua/inifile/metadata.xml new file mode 100644 index 000000000000..9da69fdb9869 --- /dev/null +++ b/dev-lua/inifile/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 type="person"> + <email>conikost@gentoo.org</email> + <name>Conrad Kostecki</name> + </maintainer> + <upstream> + <remote-id type="github">bartbes/inifile</remote-id> + </upstream> +</pkgmetadata> |