You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mxe/plugins/luarocks/luasocket.mk

23 lines
676 B

# This file is part of MXE.
# See index.html for further information.
PKG := luasocket
$(PKG)_IGNORE :=
$(PKG)_VERSION := 3.0-rc1
$(PKG)_CHECKSUM := 8b67d9b5b545e1b694753dab7bd6cdbc24c290f2b21ba1e14c77b32817ea1249
$(PKG)_SUBDIR := luasocket-$($(PKG)_VERSION)
$(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz
$(PKG)_URL := https://github.com/diegonehab/luasocket/archive/v$($(PKG)_VERSION).tar.gz
$(PKG)_DEPS := gcc luarocks
define $(PKG)_UPDATE
$(call MXE_GET_GITHUB_TAGS, diegonehab/luasocket) | \
$(SED) 's,^v,,g'
endef
# shared-only because luarocks is shared-only
define $(PKG)_BUILD_SHARED
cd '$(1)' && '$(TARGET)-luarocks' make
endef