summaryrefslogtreecommitdiffstats
path: root/plugins/luarocks/llthreads2.mk
blob: 0c9115ef47a5e21a867a75ca3a2016a27e07ebbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This file is part of MXE.
# See index.html for further information.

PKG             := llthreads2
$(PKG)_WEBSITE  := https://github.com/moteus/lua-llthreads2
$(PKG)_OWNER    := https://github.com/starius
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 0.1.3
$(PKG)_CHECKSUM := 8c6fc7966cdcc15ae2f89f66ae72f6727a985e7d254f139ecf75a50956a3e8e4
$(PKG)_SUBDIR   := lua-$(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE     := $($(PKG)_SUBDIR).tar.gz
$(PKG)_URL      := https://github.com/moteus/lua-llthreads2/archive/v$($(PKG)_VERSION).tar.gz
$(PKG)_DEPS     := gcc luarocks

define $(PKG)_UPDATE
    $(call MXE_GET_GITHUB_TAGS, moteus/lua-llthreads2, v)
endef

# shared-only because luarocks is shared-only

define $(PKG)_BUILD_SHARED
    cd '$(1)' && '$(TARGET)-luarocks' make \
        rockspecs/lua-llthreads2-scm-0.rockspec
endef