blob: 55e644ef1a65647858c1c06ea8b9c4206e15432f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class LuaMpack(Package):
"""lua bindings to libmpack"""
homepage = "https://luarocks.org/modules/tarruda/mpack"
url = "https://luarocks.org/manifests/tarruda/mpack-1.0.6-0.src.rock"
depends_on('msgpack-c')
version('1.0.0-0', '9a7bd842753194124830bc7426e78c1b',
url='https://luarocks.org/manifests/tarruda/mpack-1.0.6-0.src.rock',
expand=False)
extends('lua')
def install(self, spec, prefix):
luarocks('--tree=' + prefix, 'install', 'mpack-1.0.6-0.src.rock')
|