Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luajit: Update to r20241013 #25339

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions lang/luajit/Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=luajit
PKG_VERSION:=2.1.0
PKG_REAL_VERSION:=$(PKG_VERSION)-beta3
PKG_RELEASE:=8
PKG_SOURCE_DATE:=2024-11-13
PKG_VERSION:=2.1.$(subst -,,$(PKG_SOURCE_DATE))
PKG_RELEASE:=1

PKG_SOURCE:=LuaJIT-$(PKG_REAL_VERSION).tar.gz
PKG_SOURCE_URL:=https://luajit.org/download
PKG_HASH:=1ad2e34b111c802f9d0cdf019e986909123237a28c746b21295b63c9e785d9c3
PKG_BUILD_DIR:=$(BUILD_DIR)/LuaJIT-$(PKG_REAL_VERSION)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/LuaJIT/LuaJIT.git
PKG_SOURCE_VERSION:=69bbf3c1b01de8239444b0c430a89fa868978fea
PKG_MIRROR_HASH:=352dedbc9e5b3101435e3f6edb10e73586472ee5bd2483be87f3cad4edfd4d13

PKG_MAINTAINER:=Morteza Milani <[email protected]>
PKG_LICENSE:=MIT
Expand Down Expand Up @@ -70,14 +70,12 @@ define Build/InstallDev
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*so* $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/luajit.pc $(1)/usr/lib/pkgconfig/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/luajit-$(PKG_REAL_VERSION) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME)
endef

define Package/luajit/install
$(INSTALL_DIR) $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/luajit-$(PKG_REAL_VERSION) $(1)/usr/bin/$(PKG_NAME)
endef

define Host/Compile
Expand Down
2 changes: 1 addition & 1 deletion lang/luajit/patches/010-lua-path.patch
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
-#define LUA_LUADIR "/lua/5.1/"
+#define LUA_LROOT "/usr"
+#define LUA_LUADIR "/lua/"
#define LUA_LJDIR "/luajit-2.1.0-beta3/"

#ifdef LUA_ROOT
#define LUA_JROOT LUA_ROOT
12 changes: 0 additions & 12 deletions lang/luajit/patches/020-clang.patch

This file was deleted.

This file was deleted.

Loading
Loading