summaryrefslogtreecommitdiff
path: root/dev-lua/LuaBitOp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-29 18:03:51 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-29 18:03:51 +0000
commitd7ed2b01311f15ba54fe8ea872aab7d59ab2b193 (patch)
tree1814dd2b5bbf2e7639fdafbeef48d228cfaf5e9b /dev-lua/LuaBitOp
parentabaa75b10f899ada8dd05b23cc03205064394bc6 (diff)
gentoo resync : 29.01.2021
Diffstat (limited to 'dev-lua/LuaBitOp')
-rw-r--r--dev-lua/LuaBitOp/LuaBitOp-1.0.2-r102.ebuild7
-rw-r--r--dev-lua/LuaBitOp/LuaBitOp-1.0.2-r2.ebuild44
-rw-r--r--dev-lua/LuaBitOp/Manifest3
3 files changed, 5 insertions, 49 deletions
diff --git a/dev-lua/LuaBitOp/LuaBitOp-1.0.2-r102.ebuild b/dev-lua/LuaBitOp/LuaBitOp-1.0.2-r102.ebuild
index 2fd5a1f8e262..617860f3937a 100644
--- a/dev-lua/LuaBitOp/LuaBitOp-1.0.2-r102.ebuild
+++ b/dev-lua/LuaBitOp/LuaBitOp-1.0.2-r102.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -13,7 +13,7 @@ SRC_URI="http://bitop.luajit.org/download/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ppc64 sparc x86"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
@@ -72,7 +72,8 @@ src_test() {
lua_src_install() {
pushd "${BUILD_DIR}" || die
- exeinto $(lua_get_cmod_dir)
+ mycmoddir="$(lua_get_cmod_dir)"
+ exeinto "${mycmoddir#$EPREFIX}"
doexe bit.so
popd
diff --git a/dev-lua/LuaBitOp/LuaBitOp-1.0.2-r2.ebuild b/dev-lua/LuaBitOp/LuaBitOp-1.0.2-r2.ebuild
deleted file mode 100644
index 67165da21a3c..000000000000
--- a/dev-lua/LuaBitOp/LuaBitOp-1.0.2-r2.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-inherit toolchain-funcs multilib-minimal
-
-DESCRIPTION="Bit Operations Library for the Lua Programming Language"
-HOMEPAGE="http://bitop.luajit.org"
-SRC_URI="http://bitop.luajit.org/download/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ppc64 sparc x86"
-IUSE=""
-
-RDEPEND=">=dev-lang/lua-5.1.5-r2:0[${MULTILIB_USEDEP}]"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-src_prepare() {
- multilib_copy_sources
-}
-
-multilib_src_compile()
-{
- emake CC="$(tc-getCC)" INCLUDES= CCOPT=
-}
-
-multilib_src_test() {
- # tests use native lua interpreter
- multilib_is_native_abi && default
-}
-
-multilib_src_install()
-{
- local instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"
- exeinto "${instdir#${EPREFIX}}"
- doexe bit.so
-}
-
-multilib_src_install_all() {
- dodoc README
- dohtml -r doc/.
-}
diff --git a/dev-lua/LuaBitOp/Manifest b/dev-lua/LuaBitOp/Manifest
index 971f59fbbe04..97ed41ff1c84 100644
--- a/dev-lua/LuaBitOp/Manifest
+++ b/dev-lua/LuaBitOp/Manifest
@@ -1,4 +1,3 @@
DIST LuaBitOp-1.0.2.tar.gz 23127 BLAKE2B 97b2ded135903f7bf2165a03d611fc2864336929706eb67097b5d67d0a0ec156c855a1637bc309d8dd03cb68beeda350b33eed7678b82540da54502cf981333a SHA512 a652050ea5c6fbeb8a28b05e2bc4a3550c854cc45f7f42c8c1b0a81f5b76773cdf061e6a839cdb339614118169e578b6e3efa5a3efbe59a2f01874b2fa2b4f2e
-EBUILD LuaBitOp-1.0.2-r102.ebuild 1314 BLAKE2B c269057aea56127df9ee08cb46684933089116797df3dc110621a50fd389cdc15a7460fa84971ab839d7f78156ccb36867f4cb429cbf5baf43f423c15ce2cb2f SHA512 7c6856d1f1c484832398f6a1bfbbcc144c7474953e31eb069f8f4b5a20ee1062a1f3b67872f39d36be80dcf5d181fc58b27c07806e4910214d1afb6d5f5d1251
-EBUILD LuaBitOp-1.0.2-r2.ebuild 917 BLAKE2B 704b906d79e32b01ec82e5fddeb95cabd2edddc1fcb9069f893a34a088bb198c8b277b42e748bfcf5893f5cf6c8b39662b5548f5c0b01807e7c331dca74a6ed3 SHA512 b1cb3b831bc3a60f5dbb840158100c97b91c0cc9fc0f902f60921852c93296116b3977f1d197fa61aac0f562cc4c76f1290ba711e2ef03dadde8eef2336197fb
+EBUILD LuaBitOp-1.0.2-r102.ebuild 1345 BLAKE2B 100654501e8d615cf556b467783a074eab04322728ba5062a59966316e23309fa18447d3cdd5b3a58450cc04d575efd6b504998c6da66f8ca21aec426c3a51d5 SHA512 8a6b78194136eb82c68fdc32b6c9c6fb7e09d0f7b4fbf385a04cd6240466655e8f22f28dd60fd74e1a55a6931b217869e5741e2e3e3fb5e13b87071e645ab4ae
MISC metadata.xml 359 BLAKE2B 79db34737be833f5be7d7cfcfbee74d93b016909b64a8cfeeac382b70f1ef9487630c5dc64dde58d37ae98a16d0ee96f4dbff8667d125f4d0af4a97275a72b78 SHA512 21a61aecfde180a1f2d721eefc332780f6fcabadcecf5d19a00534e65c84e8c538c988239bfc938e4c7c6a60a5915f6f685b882314067521f7c293f37197b96a