From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- dev-lua/lua-zlib/Manifest | 2 +- dev-lua/lua-zlib/lua-zlib-1.2-r1.ebuild | 50 +++++++++++++++++++++++++++++++ dev-lua/lua-zlib/lua-zlib-1.2-r100.ebuild | 49 ------------------------------ 3 files changed, 51 insertions(+), 50 deletions(-) create mode 100644 dev-lua/lua-zlib/lua-zlib-1.2-r1.ebuild delete mode 100644 dev-lua/lua-zlib/lua-zlib-1.2-r100.ebuild (limited to 'dev-lua/lua-zlib') diff --git a/dev-lua/lua-zlib/Manifest b/dev-lua/lua-zlib/Manifest index 040fbb4f632a..d925b6bf5450 100644 --- a/dev-lua/lua-zlib/Manifest +++ b/dev-lua/lua-zlib/Manifest @@ -1,3 +1,3 @@ DIST lua-zlib-1.2.tar.gz 16612 BLAKE2B ca2ff51c97929fac0918de3902a175eda583da3ca415f9eff5e68a9c3ba0414827c3a96b968e9fcbccbe9612b1ade3fdc4498e50c4df53b0fa768912f428a287 SHA512 da13239089c1027b0bfb4ee463043b326ef5586206c5d76af8707736da3c03622b2fc38e732761a5b7a6422ad81a09557abc8548f37fef07ada0d4064eabfcf4 -EBUILD lua-zlib-1.2-r100.ebuild 932 BLAKE2B 00719b095efbf1021db6335668b508d2f1fd5e48edcf511cfb96d65611b9d692e79c2ce5914d997ec5c0b756ca7c9c44dab18647aedf375ff8734a63581fa8f5 SHA512 c311130c8e0fb937e734ade3d6d63352703be96a5868d5bd5c210db5f25ca35702861792e6c445a9e778afe69d0a3bf354e557cdf9f1f66c87017c0b56b8d1ae +EBUILD lua-zlib-1.2-r1.ebuild 977 BLAKE2B 47fe7775057073fa7dce03ef7af3b40e5cf37a431e034fb2dc1aaafefd4d4ffc931b6ae4c07e523d81a53a3040bb8014e7148f8083f497c4c0076d109560aeed SHA512 53a5ea2bd98e5508ce97b9255d153a0db85ed13fc387432ee0e12c0df4622ae1c68a6913c1e42a60ca46e920bfab3adaacc7827ca5d3c03013efb35cc092016b MISC metadata.xml 334 BLAKE2B 226d34153f3f9d56a0140dead5a3049ab7a1383fdcf06dffd036b4b929c0b6612c283a00491acd16671b9879964eb6e2b6c9e8c5ade5e530147e1aa66da8729c SHA512 d1817084afea4a047e5c09ced17aa711b39893a58dd4d208e5b9c94f4f88d69a5de4604b137471bc8e7686d9919d9ed083224d258f1a677a00b079aa5c6b08a5 diff --git a/dev-lua/lua-zlib/lua-zlib-1.2-r1.ebuild b/dev-lua/lua-zlib/lua-zlib-1.2-r1.ebuild new file mode 100644 index 000000000000..fee095b99a75 --- /dev/null +++ b/dev-lua/lua-zlib/lua-zlib-1.2-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit cmake lua + +DESCRIPTION="Simple streaming interface to zlib for Lua" +HOMEPAGE="https://github.com/brimworks/lua-zlib" +SRC_URI="https://github.com/brimworks/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +RDEPEND=" + sys-libs/zlib + ${LUA_DEPS} + +" +DEPEND="${RDEPEND}" + +lua_src_configure() { + local mycmakeargs=( + -DINSTALL_CMOD="$(lua_get_cmod_dir)" + -DLUA_INCLUDE_DIR="$(lua_get_include_dir)" + -DUSE_LUA_VERSION="$(lua_get_version)" + ) + + if [[ ${ELUA} == luajit ]]; then + mycmakeargs+=( -DUSE_LUAJIT="ON" ) + fi + + cmake_src_configure +} + +src_configure() { + lua_foreach_impl lua_src_configure +} + +src_compile() { + lua_foreach_impl cmake_src_compile +} + +src_install() { + lua_foreach_impl cmake_src_install +} diff --git a/dev-lua/lua-zlib/lua-zlib-1.2-r100.ebuild b/dev-lua/lua-zlib/lua-zlib-1.2-r100.ebuild deleted file mode 100644 index ae3efd99edef..000000000000 --- a/dev-lua/lua-zlib/lua-zlib-1.2-r100.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( lua5-{1..4} luajit ) - -inherit cmake lua - -DESCRIPTION="Simple streaming interface to zlib for Lua" -HOMEPAGE="https://github.com/brimworks/lua-zlib" -SRC_URI="https://github.com/brimworks/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" -REQUIRED_USE="${LUA_REQUIRED_USE}" - -RDEPEND=" - sys-libs/zlib - ${LUA_DEPS} - -" -DEPEND="${RDEPEND}" - -lua_src_configure() { - local mycmakeargs=( - -DINSTALL_CMOD="$(lua_get_cmod_dir)" - -DUSE_LUA_VERSION="$(lua_get_version)" - ) - - if [[ ${ELUA} == luajit ]]; then - mycmakeargs+=( -DUSE_LUAJIT="ON" ) - fi - - cmake_src_configure -} - -src_configure() { - lua_foreach_impl lua_src_configure -} - -src_compile() { - lua_foreach_impl cmake_src_compile -} - -src_install() { - lua_foreach_impl cmake_src_install -} -- cgit v1.2.3