summaryrefslogtreecommitdiff
path: root/dev-lua/messagepack
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lua/messagepack')
-rw-r--r--dev-lua/messagepack/Manifest5
-rw-r--r--dev-lua/messagepack/messagepack-0.3.2.ebuild27
-rw-r--r--dev-lua/messagepack/metadata.xml10
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-lua/messagepack/Manifest b/dev-lua/messagepack/Manifest
new file mode 100644
index 000000000000..d04088561fa7
--- /dev/null
+++ b/dev-lua/messagepack/Manifest
@@ -0,0 +1,5 @@
+DIST lua-messagepack-0.3.2.tar.xz 13416 SHA256 0f9e24d5a83678bf03a106504f95fc190513aa66cccf22f0f5c4129c6a3af27a SHA512 d5b0193f157ea5ce4df6fa54fab3662c279bdf03679ba4e5f9d4341875c66c4a96a5f11fd68e06a92fe2c47681584708dc79b9a9337356391c41f4de76c6ddcd WHIRLPOOL da8d7e72ba79232cf8e131c77a7f82850d60c47dc9772cced9a05842d5da92746564a6ff7ef7aefa9389173ba2183b87a4e2e954b37d598fc7b1fd96db1ec294
+EBUILD messagepack-0.3.2.ebuild 688 SHA256 c40731c0b3f3c3abd9f65a8b7afe9f99454fa6dfc82dafbec509f3ef3b5fbe8c SHA512 d2eeeffe2fe4c8596924b0655108854f1798a4b0dcb5136415a6065f01da145eb1c448fd74ded4cb94e63fdbfcc7f45553191daa0d3c80f494559f7092b80772 WHIRLPOOL d0be17a39ca9ef4e03fed6b7bd9ac4ba9432f668c8d1e4b9c38156dee601a8e8fdc64518bde4ab278e94feded9021f01c87b09594077765c34f1bd2599eb858e
+MISC ChangeLog 2215 SHA256 b19de72287105633825cd15999e34f14e4bff56f6d4f74b1b191818b195ee938 SHA512 4f60289e8fbdef418c0c75ecff3103fd466c663beb7e8075efc47c459a6ca895f4d091557b665d531c3e15909aedcafdc3ebefbedd7bb3790a057038bc3516b6 WHIRLPOOL 36844dd4858d503f74a2c2c179b0c76bfe5fa13faeee91326cdabb288e875545d89bc026faee9c06b28ca3820c75510be5b41b36a82da755466857941350d7f7
+MISC ChangeLog-2015 354 SHA256 239a44eb1e109f70f956338c0089b787bb313d09f77241b4b2538b2f372f2167 SHA512 b0bac95f67b47b98c613e56b760fc72c4917a7e56cb0dd2e2fdcb5d19cdb1983772a22a99798cbe52e190c5b786a635cc3985df8dcbcfc0c8e13f139065a55f3 WHIRLPOOL 6261befb008edfaf1bd084d0e2fe4645994179345babeb7c57ea43bac99bb4d67f5ebf60a9cdad135c5800a1197ab11afbef632ed419b15605dbb66ad751644d
+MISC metadata.xml 301 SHA256 303927d938b971dca790522eb07dd9bd5bc35a73cb1230068404476c78101815 SHA512 906b00d6b048d87003feb49d59f82e64e4832495dcd5870f4742d40dbdbaac1e469aa1e62cd3329f510e829cfb826153233144ebc373a22ee3cfa68a2a9c4969 WHIRLPOOL 00cd4feac18398f917d7994fd27cb5ea87f66df6deb21cabecf31f32e646303aa3b01beb61d29874bf419137287b2086c8c2ec068a97c58265b33cffc7b0ffb1
diff --git a/dev-lua/messagepack/messagepack-0.3.2.ebuild b/dev-lua/messagepack/messagepack-0.3.2.ebuild
new file mode 100644
index 000000000000..db4b06987448
--- /dev/null
+++ b/dev-lua/messagepack/messagepack-0.3.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="A pure Lua implementation of the MessagePack serialization format"
+HOMEPAGE="http://fperrad.github.io/lua-MessagePack/"
+SRC_URI="https://dev.gentoo.org/~yngwin/distfiles/lua-${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+luajit"
+
+RDEPEND="luajit? ( dev-lang/luajit:2 )
+ !luajit? ( dev-lang/lua:= )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_install() {
+ local lua=lua
+ use luajit && lua=luajit
+ insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD ${lua})"
+ doins src/MessagePack.lua
+ dodoc CHANGES README.md
+}
diff --git a/dev-lua/messagepack/metadata.xml b/dev-lua/messagepack/metadata.xml
new file mode 100644
index 000000000000..5291ff50f05e
--- /dev/null
+++ b/dev-lua/messagepack/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <use>
+ <flag name="luajit">
+ Use the lua just-in-time compiler <pkg>dev-lang/luajit</pkg> instead of
+ <pkg>dev-lang/lua</pkg>
+ </flag>
+ </use>
+</pkgmetadata>