summaryrefslogtreecommitdiff
path: root/dev-lua
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/Manifest.gzbin7294 -> 7300 bytes
-rw-r--r--dev-lua/luasystem/Manifest2
-rw-r--r--dev-lua/luasystem/luasystem-0.4.4.ebuild89
3 files changed, 91 insertions, 0 deletions
diff --git a/dev-lua/Manifest.gz b/dev-lua/Manifest.gz
index 0e62b0c4ba70..6fbc273a3c0b 100644
--- a/dev-lua/Manifest.gz
+++ b/dev-lua/Manifest.gz
Binary files differ
diff --git a/dev-lua/luasystem/Manifest b/dev-lua/luasystem/Manifest
index d417eb7a0e56..47cac5b92f69 100644
--- a/dev-lua/luasystem/Manifest
+++ b/dev-lua/luasystem/Manifest
@@ -3,7 +3,9 @@ AUX luasystem-0.4.2-fix-makefile.patch 1322 BLAKE2B 6756d2bcc2f5f80860542a3d1e05
DIST luasystem-0.2.1_p0.tar.gz 8162 BLAKE2B ad8a6009823ad8202ff3884a3167d0779405c2a6be460b7ef2939622eb4d0fc8edbc6b04aba5dec9dd5e4e38f11ae0dcd582b9c348d5b516aa411858d55c6d71 SHA512 9dc323d4d1914cfa4f278a49ef22e58569d5cd7e369fa17fa6006cd47f9d90c6dfd4404067ea2436aa46a27cfbdf91e4aa26e20b89aeeefdf2aa7252c51fb32b
DIST luasystem-0.3.0.tar.gz 19607 BLAKE2B 82dd54dab61045d25d9d1dc074526c2443b9732adf27da052f65702f0941a04dce65582091b5ecb802e5aed9baa2f4dbd53e4cd1b624426341a83fbcb0109378 SHA512 1adf1167767d7d8233ed2c90c106b050dc2370e891465eeb13f16ebc96e8f467d67a89a40173064112117ac9db2451aa73fde0d11fab01f6d2c56bdef50cb6ac
DIST luasystem-0.4.2.tar.gz 74837 BLAKE2B 09d307ab2764bc68eb0fe3aae2c556ca70490e738e3ffcd620f4b43d00c22f19d47c67014b7f14ae1d561a4a2bee8d4b79dee3a76a47c832af602cbe8f9186f0 SHA512 98681005dfcab3807a794eec78550903a2f39de59de39c92016bbd690215946f22c17fb802b40c7e12ad19ab846a118414ab082408b11559030c35fd69ac9314
+DIST luasystem-0.4.4.tar.gz 75423 BLAKE2B d38798fdc07bb5ee0c85832e17cb631820ce0cad88fd8d0c48b34c097c5280bdffa410adbfb6d97115c075891204b7a5609a423f5fa887f166597b8bcb50a52d SHA512 e2a5c1a242fcb8f50fe694d89a954a7d73d18507325fa316592289e25dbf8bcdff8f59ad5593937923def390962bb56046ef8d137869ad287a16c2b23534b032
EBUILD luasystem-0.2.1_p0-r1.ebuild 1608 BLAKE2B 988ce1a0466a32b112e2a6d2c61c072ad46408c4a1865fdd8ed9799bceb7536c1b8ffdaa661422c9d2a08bd984203ad77ca9a788f44b6eeb5edc5840afc1fa88 SHA512 c2bb2dd1bfa10ee28ff04fa2fb03275e3262c22931b12706a8fbfa8135626115df398e7e958d87d2388952e5d99600d1d5bfbe7964434d067be18064130e4206
EBUILD luasystem-0.3.0.ebuild 1646 BLAKE2B 44ed36ef2a9543eff491c01b6faa464b0d65de7169545c04fb226e1b6d52f1b5b0b58ed5928eba47d396d2830bfc1b650722ead77bfbd282add7da627646e2fd SHA512 deb0691379c0ec9f4a272337c8219ac06c175b8686d6e6cc7eb86a96b57bad5432771dbfae850a33c095e552c091d4b46ef2f72bddc323dfa1438607e69d1fc6
EBUILD luasystem-0.4.2-r1.ebuild 1644 BLAKE2B b83b2760fe87527c257723b5fe67e16f95123137ac33c8e881d25aa7cf9d5361991a145135adc28b3e71a7348591f5e972f6ed386b76f226e3174dd5ef693a68 SHA512 18f72c1d925a46b1e5bcf10b2d676b9c27b735df2aa02c9d0c8a9496eb6d6b8523dea5b6ba994ee03b63073334d9be69a49c5517395df8f5f2eaf1c088d0a83b
+EBUILD luasystem-0.4.4.ebuild 1586 BLAKE2B 95a8bcdbaa336e9072cd49f4578ba00b1c4d238c76f9d497a878613e2fc41934aef8a36acf7d326943dca807ec937024fa390e501d18a73da16beae16ddbfff4 SHA512 a452c8e2d48867fb16ba07c5ccfd35f056dd43405750c0b3e69aad562d3845280141c731dc0f6a16eb5ff0f0f4d3e9bb5efc593a8c7e98e7a3ee41fbd389ae27
MISC metadata.xml 551 BLAKE2B 230312b7c2fb4bc059c507e538a5a0e6b257b7dafc6cfb90fe05dc10d8af44b3e90a7002d9566b8c73d30e3c1ce4276191e2c5ae0b78683b0f1c5b4553fbd3b5 SHA512 e19e38de42e6c0672e143b7aaf24b7a1ca01897851645720098fd6426eb5a3d4346a4cc9534a2bacfba98457160dc7f4421ceb767111688031c13e26f9a25a82
diff --git a/dev-lua/luasystem/luasystem-0.4.4.ebuild b/dev-lua/luasystem/luasystem-0.4.4.ebuild
new file mode 100644
index 000000000000..1ea1339bdc05
--- /dev/null
+++ b/dev-lua/luasystem/luasystem-0.4.4.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+MY_PV="${PV/_p/-}"
+
+inherit lua toolchain-funcs
+
+DESCRIPTION="Platform independent system calls for Lua"
+HOMEPAGE="https://github.com/lunarmodules/luasystem"
+SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="test"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="${LUA_DEPS}"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ dev-lua/busted[${LUA_USEDEP}]
+ dev-lua/lua_cliargs[${LUA_USEDEP}]
+ ${RDEPEND}
+ )
+"
+
+src_prepare() {
+ default
+
+ lua_copy_sources
+}
+
+lua_src_test() {
+ busted --lua=${ELUA} || die
+}
+
+src_test() {
+ lua_foreach_impl lua_src_test
+}
+
+lua_src_compile() {
+ pushd "${BUILD_DIR}" || die
+
+ local myemakeargs=(
+ "CC=$(tc-getCC)"
+ "LD=$(tc-getCC)"
+ "LUAINC_linux=$(lua_get_include_dir)"
+ "MYCFLAGS=${CFLAGS}"
+ "MYLDFLAGS=${LDFLAGS}"
+ )
+
+ emake "${myemakeargs[@]}" linux
+
+ popd
+}
+
+src_compile() {
+ lua_foreach_impl lua_src_compile
+}
+
+lua_src_install () {
+ pushd "${BUILD_DIR}" || die
+
+ local emakeargs=(
+ "INSTALL_TOP_CDIR=${ED}/$(lua_get_cmod_dir)"
+ "INSTALL_TOP_LDIR=${ED}/$(lua_get_lmod_dir)"
+ "LUA_INC=${ED}/$(lua_get_include_dir)"
+ )
+
+ emake "${emakeargs[@]}" install
+
+ insinto $(lua_get_lmod_dir)/system
+ doins system/init.lua
+
+ popd
+}
+
+src_install() {
+ lua_foreach_impl lua_src_install
+
+ einstalldocs
+}