blob: 777ff19e18a67107d2feaed855a43a02b0f9a527 (
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', sha256='9068d9d3f407c72a7ea18bc270b0fa90aad60a2f3099fa23d5902dd71ea4cd5f',
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')
|