From 2e1aafdf0e964b04975198db7b0488543d81f110 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Sun, 10 Nov 2019 18:31:06 +0200 Subject: [PATCH] move from unstable: libluajit --- packages/libluajit/build.sh | 51 ++++++++++++++++++ packages/libluajit/etc-luajit.pc.patch | 12 +++++ packages/libluajit/luajit.subpackage.sh | 2 + packages/libluajit/src-Makefile.patch | 71 +++++++++++++++++++++++++ 4 files changed, 136 insertions(+) create mode 100644 packages/libluajit/build.sh create mode 100644 packages/libluajit/etc-luajit.pc.patch create mode 100644 packages/libluajit/luajit.subpackage.sh create mode 100644 packages/libluajit/src-Makefile.patch diff --git a/packages/libluajit/build.sh b/packages/libluajit/build.sh new file mode 100644 index 000000000..f10c7700d --- /dev/null +++ b/packages/libluajit/build.sh @@ -0,0 +1,51 @@ +TERMUX_PKG_HOMEPAGE=https://luajit.org/ +TERMUX_PKG_DESCRIPTION="Just-In-Time Compiler for Lua" +TERMUX_PKG_LICENSE="MIT" +TERMUX_PKG_MAINTAINER="Leonid Plyushch /dev/null +-TARGET_STRIP= $(CROSS)strip ++TARGET_LD= $(CC) ++TARGET_AR= $(AR) rcus 2>/dev/null ++TARGET_STRIP= $(STRIP) + + TARGET_LIBPATH= $(or $(PREFIX),/usr/local)/$(or $(MULTILIB),lib) +-TARGET_SONAME= libluajit-$(ABIVER).so.$(MAJVER) ++TARGET_SONAME= libluajit-$(ABIVER).so + TARGET_DYLIBNAME= libluajit-$(ABIVER).$(MAJVER).dylib + TARGET_DYLIBPATH= $(TARGET_LIBPATH)/$(TARGET_DYLIBNAME) + TARGET_DLLNAME= lua$(NODOTABIVER).dll +@@ -585,7 +585,7 @@ + endif + endif + +-Q= @ ++Q= + E= @echo + #Q= + #E= @: