diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2014-09-20 11:49:23 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2014-10-01 00:26:50 (GMT) |
commit | 2083aa49b79782d5b9f539506ebed6121d7239c5 (patch) | |
tree | e0e0d600de6f84c345662900c84d227a4e84bda1 | |
parent | 7ba44f6b304bf05ad5355d3bd4663d9bd6fb3130 (diff) | |
download | mxe-2083aa49b79782d5b9f539506ebed6121d7239c5.zip mxe-2083aa49b79782d5b9f539506ebed6121d7239c5.tar.gz mxe-2083aa49b79782d5b9f539506ebed6121d7239c5.tar.bz2 |
add package LuaJIT
-rw-r--r-- | index.html | 4 | ||||
-rw-r--r-- | src/luajit.mk | 24 |
2 files changed, 28 insertions, 0 deletions
@@ -1856,6 +1856,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre> <td class="website"><a href="http://www.rasterbar.com/products/luabind.html">Luabind</a></td> </tr> <tr> + <td class="package">luajit</td> + <td class="website"><a href="http://luajit.org/luajit.html">LuaJIT</a></td> + </tr> + <tr> <td class="package">lzo</td> <td class="website"><a href="http://www.oberhumer.com/opensource/lzo/">lzo</a></td> </tr> diff --git a/src/luajit.mk b/src/luajit.mk new file mode 100644 index 0000000..330336c --- /dev/null +++ b/src/luajit.mk @@ -0,0 +1,24 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := luajit +$(PKG)_IGNORE := +$(PKG)_VERSION := 2.0.3 +$(PKG)_CHECKSUM := 2db39e7d1264918c2266b0436c313fbd12da4ceb +$(PKG)_SUBDIR := LuaJIT-$($(PKG)_VERSION) +$(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz +$(PKG)_URL := http://luajit.org/download/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_BUILD + $(MAKE) -C '$(1)' -j '$(JOBS)' \ + HOST_CC="gcc -m32" CROSS=$(TARGET)- \ + TARGET_SYS=Windows BUILDMODE=static \ + PREFIX='$(PREFIX)/$(TARGET)' \ + FILE_T=luajit.exe \ + install +endef + +$(PKG)_BUILD_x86_64-w64-mingw32 = + +$(PKG)_BUILD_SHARED = |