summaryrefslogtreecommitdiff
path: root/dev-lua/messagepack
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-31 12:01:05 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-31 12:01:05 +0100
commit5b7f6475da27c05b30659a00ecb49636aca2bece (patch)
treef67500afbab4acebaa18739efa57f79c7ee620b3 /dev-lua/messagepack
parent2e8abb8c82f14dd064991a1afd337b2f022b37f6 (diff)
gentoo auto-resync : 31:08:2024 - 12:01:05
Diffstat (limited to 'dev-lua/messagepack')
-rw-r--r--dev-lua/messagepack/Manifest2
-rw-r--r--dev-lua/messagepack/messagepack-0.5.4.ebuild49
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-lua/messagepack/Manifest b/dev-lua/messagepack/Manifest
index c2fcf6a64ac1..d97aab6c166a 100644
--- a/dev-lua/messagepack/Manifest
+++ b/dev-lua/messagepack/Manifest
@@ -1,3 +1,5 @@
DIST messagepack-0.5.2_p20201025.tar.gz 19652 BLAKE2B 5f85081daf2ab7f57399cb47782fbde0dfd2afe9514fdb652da1ba0eacd832e5c0924258b788d919b0a07e227f37ee58a239004086e7d6759b4727922ea57d76 SHA512 245790163ec819438fd3426f59ab2e5672864be647748dace35155be712ad4eaf78f8d7228d5a0ce94bfb92f6a1d1071cf871483bf99e02ba18872c31b3d0682
+DIST messagepack-0.5.4.tar.bz2 18952 BLAKE2B f2632c4402b8a333deb4773543c60c7b7fd2a07601212b958b673fb4f10a603bbc6d3aa01b2674c0f23ff92ec6097473ae98deeb11c1c305bb31b10c06c7d0b8 SHA512 f40501beaa56b02a80070c8dc30ea49ae4e4ba9f6dd4a7d628c8c670915da3840c96d16451ab363b34fee239d00be41c9cee659b67b670f961bc59b99b945b53
EBUILD messagepack-0.5.2_p20201025-r100.ebuild 1017 BLAKE2B 481af10d3c5b285015be5ad6446f979d68c681e3d4ae83e1446bec56606ddf998aa430e689cf0bb073554e127b7ddca83036c3bee39627997c290f70763b14d9 SHA512 b8458713cad9ba3b53c124888131f2452940681aa5dfe27cf8885b88bc1a3958a2cd631999a56895d087d9f52b3f5a286589e9cf66007395cb287ca6864d9c45
+EBUILD messagepack-0.5.4.ebuild 944 BLAKE2B 6672b1d80621463fe7a14e21361213f53855ba4f39d229d7e55815ba7f7af0d869c802eefed85e32c0763e365713238c6d3e9334377d9416f562bb2577bd3b8f SHA512 4bac32bcfe602996904f36c766d967880fa2917d878715363bd7fac083eb5bd4215f5bae441821e58753498859f405727f787b212c3ce4fdda88b6562ce826db
MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3
diff --git a/dev-lua/messagepack/messagepack-0.5.4.ebuild b/dev-lua/messagepack/messagepack-0.5.4.ebuild
new file mode 100644
index 000000000000..41b7e3cc57d7
--- /dev/null
+++ b/dev-lua/messagepack/messagepack-0.5.4.ebuild
@@ -0,0 +1,49 @@
+# 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_PN="lua-MessagePack"
+MY_P="${MY_PN}-${PV}"
+
+inherit lua
+
+DESCRIPTION="pure Lua implementation of the MessagePack serialization format"
+HOMEPAGE="https://fperrad.frama.io/lua-MessagePack"
+SRC_URI="https://framagit.org/fperrad/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+# Needed 'lua-TestMore' Lua module not in tree
+RESTRICT="test"
+
+RDEPEND="${LUA_DEPS}"
+BDEPEND="
+ virtual/pkgconfig
+ test? ( ${RDEPEND} )
+"
+
+src_compile() {
+ :;
+}
+
+lua_src_install() {
+ local myemakeargs=(
+ "LIBDIR=${ED}/$(lua_get_lmod_dir)"
+ "LUAVER=$(ver_cut 1-2 $(lua_get_version))"
+ )
+
+ emake "${myemakeargs[@]}" install
+}
+
+src_install() {
+ lua_foreach_impl lua_src_install
+
+ einstalldocs
+}