summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2020-12-04 17:48:27 +0100
committerConrad Kostecki <conikost@gentoo.org>2020-12-04 18:13:55 +0100
commit9e7cd4a0d337f3a554961c290320e13ad97e32be (patch)
tree065187ecf19ee8245e65313da62446f124ebff99 /dev-lua/messagepack
parentnet-mail/fetchmail: 6.4.14 bump (diff)
downloadgentoo-9e7cd4a0d337f3a554961c290320e13ad97e32be.tar.gz
gentoo-9e7cd4a0d337f3a554961c290320e13ad97e32be.tar.bz2
gentoo-9e7cd4a0d337f3a554961c290320e13ad97e32be.zip
dev-lua/messagepack: bump to version 0.5.2
Closes: https://bugs.gentoo.org/632078 Closes: https://bugs.gentoo.org/723160 Closes: https://bugs.gentoo.org/748882 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-lua/messagepack')
-rw-r--r--dev-lua/messagepack/Manifest1
-rw-r--r--dev-lua/messagepack/messagepack-0.5.2_p20201025.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-lua/messagepack/Manifest b/dev-lua/messagepack/Manifest
index ea14bdd8c5cb..c6ed57033791 100644
--- a/dev-lua/messagepack/Manifest
+++ b/dev-lua/messagepack/Manifest
@@ -1 +1,2 @@
DIST lua-messagepack-0.3.2.tar.xz 13416 BLAKE2B 03d80c3a1fc8d8bfa30821f3b83ead61bc0a8ccf565d9ac17ca0b1d97ac7c72d0550695ee13feb6ff38cd8098fa331c3acaf4b52c0f95bfc3141b70a655ba9df SHA512 d5b0193f157ea5ce4df6fa54fab3662c279bdf03679ba4e5f9d4341875c66c4a96a5f11fd68e06a92fe2c47681584708dc79b9a9337356391c41f4de76c6ddcd
+DIST messagepack-0.5.2_p20201025.tar.gz 19652 BLAKE2B 5f85081daf2ab7f57399cb47782fbde0dfd2afe9514fdb652da1ba0eacd832e5c0924258b788d919b0a07e227f37ee58a239004086e7d6759b4727922ea57d76 SHA512 245790163ec819438fd3426f59ab2e5672864be647748dace35155be712ad4eaf78f8d7228d5a0ce94bfb92f6a1d1071cf871483bf99e02ba18872c31b3d0682
diff --git a/dev-lua/messagepack/messagepack-0.5.2_p20201025.ebuild b/dev-lua/messagepack/messagepack-0.5.2_p20201025.ebuild
new file mode 100644
index 000000000000..a4f23657c074
--- /dev/null
+++ b/dev-lua/messagepack/messagepack-0.5.2_p20201025.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGIT_COMMIT="18f316b3f62c02bf2b7a3096701780f78a4d2c67"
+MY_PN="lua-MessagePack"
+MY_P="${MY_PN}-${EGIT_COMMIT}"
+
+inherit toolchain-funcs
+
+DESCRIPTION="A pure Lua implementation of the MessagePack serialization format"
+HOMEPAGE="https://fperrad.frama.io/lua-MessagePack"
+SRC_URI="https://framagit.org/fperrad/${MY_PN}/-/archive/${EGIT_COMMIT}/${MY_P}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="luajit test"
+
+# Needed 'lua-TestMore' Lua module not in tree
+RESTRICT="test"
+
+RDEPEND="
+ luajit? ( dev-lang/luajit:2 )
+ !luajit? ( dev-lang/lua:0 )
+"
+
+BDEPEND="
+ virtual/pkgconfig
+ test? ( ${RDEPEND} )
+"
+
+src_compile() {
+ :;
+}
+
+src_install() {
+ local myemakeargs=(
+ "LIBDIR=${ED}/$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))"
+ "LUAVER=$($(tc-getPKG_CONFIG) --variable $(usex luajit 'abiver' 'V') $(usex luajit 'luajit' 'lua'))"
+ )
+
+ emake "${myemakeargs[@]}" install
+
+ einstalldocs
+}