pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
LuaJIT-git: Track v2.1 production branch
Module Name: pkgsrc-wip
Committed By: Malte Dehling <mdehling%gmail.com@localhost>
Pushed By: mdehling
Date: Mon Apr 1 18:13:12 2024 -0700
Changeset: 13d6914173ef0a1a5be8f431dff4dba8e3a0a27b
Modified Files:
Makefile
Added Files:
LuaJIT-git/DESCR
LuaJIT-git/Makefile
LuaJIT-git/PLIST
LuaJIT-git/buildlink3.mk
LuaJIT-git/distinfo
LuaJIT-git/patches/patch-Makefile
Log Message:
LuaJIT-git: Track v2.1 production branch
LuaJIT uses rolling releases. There are no release tarballs available
for download. This package tracks the v2.1 production branch.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=13d6914173ef0a1a5be8f431dff4dba8e3a0a27b
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
LuaJIT-git/DESCR | 6 ++++++
LuaJIT-git/Makefile | 24 ++++++++++++++++++++++++
LuaJIT-git/PLIST | 36 ++++++++++++++++++++++++++++++++++++
LuaJIT-git/buildlink3.mk | 14 ++++++++++++++
LuaJIT-git/distinfo | 3 +++
LuaJIT-git/patches/patch-Makefile | 38 ++++++++++++++++++++++++++++++++++++++
Makefile | 1 +
7 files changed, 122 insertions(+)
diffs:
diff --git a/LuaJIT-git/DESCR b/LuaJIT-git/DESCR
new file mode 100644
index 0000000000..c18e238fc1
--- /dev/null
+++ b/LuaJIT-git/DESCR
@@ -0,0 +1,6 @@
+LuaJIT is a Just-In-Time Compiler (JIT) for the Lua programming
+language. Lua is a powerful, dynamic and light-weight programming
+language. It may be embedded or used as a general-purpose, stand-alone
+language.
+
+LuaJIT 2.1 is compatible with Lua 5.1.
diff --git a/LuaJIT-git/Makefile b/LuaJIT-git/Makefile
new file mode 100644
index 0000000000..082ad41148
--- /dev/null
+++ b/LuaJIT-git/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME= LuaJIT-git-2.1
+CATEGORIES= lang
+
+GIT_REPO= https://luajit.org/git/luajit.git
+GIT_BRANCH= v2.1
+
+MAINTAINER= mdehling%gmail.com@localhost
+HOMEPAGE= https://luajit.org/
+COMMENT= Just-In-Time Compiler for the Lua programming language
+LICENSE= mit
+
+CONFLICTS+= LuaJIT2-[0-9]* LuaJIT21-[0-9]*
+
+USE_TOOLS+= gmake
+
+# pkg/47587: lua not linked to pthread causes issues with modules
+PTHREAD_OPTS+= native
+PTHREAD_AUTO_VARS= yes
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/LuaJIT-git/PLIST b/LuaJIT-git/PLIST
new file mode 100644
index 0000000000..d1b39fc6de
--- /dev/null
+++ b/LuaJIT-git/PLIST
@@ -0,0 +1,36 @@
+@comment $NetBSD$
+bin/luajit
+bin/luajit-${PKGVERSION}
+include/luajit-${PKGVERSION}/lauxlib.h
+include/luajit-${PKGVERSION}/lua.h
+include/luajit-${PKGVERSION}/lua.hpp
+include/luajit-${PKGVERSION}/luaconf.h
+include/luajit-${PKGVERSION}/luajit.h
+include/luajit-${PKGVERSION}/lualib.h
+lib/libluajit-5.1.a
+lib/libluajit-5.1.so
+lib/libluajit-5.1.so.2
+lib/libluajit-5.1.so.${PKGVERSION}
+lib/pkgconfig/luajit.pc
+man/man1/luajit.1
+share/luajit-${PKGVERSION}/jit/bc.lua
+share/luajit-${PKGVERSION}/jit/bcsave.lua
+share/luajit-${PKGVERSION}/jit/dis_arm.lua
+share/luajit-${PKGVERSION}/jit/dis_arm64.lua
+share/luajit-${PKGVERSION}/jit/dis_arm64be.lua
+share/luajit-${PKGVERSION}/jit/dis_mips.lua
+share/luajit-${PKGVERSION}/jit/dis_mips64.lua
+share/luajit-${PKGVERSION}/jit/dis_mips64el.lua
+share/luajit-${PKGVERSION}/jit/dis_mips64r6.lua
+share/luajit-${PKGVERSION}/jit/dis_mips64r6el.lua
+share/luajit-${PKGVERSION}/jit/dis_mipsel.lua
+share/luajit-${PKGVERSION}/jit/dis_ppc.lua
+share/luajit-${PKGVERSION}/jit/dis_x64.lua
+share/luajit-${PKGVERSION}/jit/dis_x86.lua
+share/luajit-${PKGVERSION}/jit/dump.lua
+share/luajit-${PKGVERSION}/jit/p.lua
+share/luajit-${PKGVERSION}/jit/v.lua
+share/luajit-${PKGVERSION}/jit/vmdef.lua
+share/luajit-${PKGVERSION}/jit/zone.lua
+@pkgdir share/lua/5.1
+@pkgdir lib/lua/5.1
diff --git a/LuaJIT-git/buildlink3.mk b/LuaJIT-git/buildlink3.mk
new file mode 100644
index 0000000000..5c2930dc3f
--- /dev/null
+++ b/LuaJIT-git/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= LuaJIT-git
+
+.if !defined(LUAJIT_GIT_BUILDLINK3_MK)
+LUAJIT_GIT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.LuaJIT-git+= LuaJIT-git>=2.1
+BUILDLINK_PKGSRCDIR.LuaJIT-git?= ../../wip/LuaJIT-git
+
+BUILDLINK_CFLAGS.LuaJIT-git+= -I${BUILDLINK_PREFIX.LuaJIT-git}/include/luajit-2.1
+.endif # LUAJIT_GIT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -LuaJIT-git
diff --git a/LuaJIT-git/distinfo b/LuaJIT-git/distinfo
new file mode 100644
index 0000000000..f85bc31921
--- /dev/null
+++ b/LuaJIT-git/distinfo
@@ -0,0 +1,3 @@
+$NetBSD$
+
+SHA1 (patch-Makefile) = 501b04456565d240acbce282130336f77b1e37f9
diff --git a/LuaJIT-git/patches/patch-Makefile b/LuaJIT-git/patches/patch-Makefile
new file mode 100644
index 0000000000..e50087028c
--- /dev/null
+++ b/LuaJIT-git/patches/patch-Makefile
@@ -0,0 +1,38 @@
+$NetBSD$
+
+- fix install paths
+- use stable file names
+
+--- Makefile.orig 2024-04-02 00:18:24.000000000 +0000
++++ Makefile
+@@ -30,7 +30,6 @@ VERSION= $(MMVERSION).$(RELVER)
+ # Change the installation path as needed. This automatically adjusts
+ # the paths in src/luaconf.h, too. Note: PREFIX must be an absolute path!
+ #
+-export PREFIX= /usr/local
+ export MULTILIB= lib
+ ##############################################################################
+
+@@ -47,18 +46,18 @@ INSTALL_LMODD= $(INSTALL_SHARE)/lua
+ INSTALL_LMOD= $(INSTALL_LMODD)/$(ABIVER)
+ INSTALL_CMODD= $(INSTALL_LIB)/lua
+ INSTALL_CMOD= $(INSTALL_CMODD)/$(ABIVER)
+-INSTALL_MAN= $(INSTALL_SHARE)/man/man1
++INSTALL_MAN= $(DPREFIX)/$(PKGMANDIR)/man1
+ INSTALL_PKGCONFIG= $(INSTALL_LIB)/pkgconfig
+
+-INSTALL_TNAME= luajit-$(VERSION)
++INSTALL_TNAME= luajit-$(MMVERSION)
+ INSTALL_TSYMNAME= luajit
+ INSTALL_ANAME= libluajit-$(ABIVER).a
+ INSTALL_SOSHORT1= libluajit-$(ABIVER).so
+ INSTALL_SOSHORT2= libluajit-$(ABIVER).so.$(MAJVER)
+-INSTALL_SONAME= libluajit-$(ABIVER).so.$(VERSION)
++INSTALL_SONAME= libluajit-$(ABIVER).so.$(MMVERSION)
+ INSTALL_DYLIBSHORT1= libluajit-$(ABIVER).dylib
+ INSTALL_DYLIBSHORT2= libluajit-$(ABIVER).$(MAJVER).dylib
+-INSTALL_DYLIBNAME= libluajit-$(ABIVER).$(VERSION).dylib
++INSTALL_DYLIBNAME= libluajit-$(ABIVER).$(MMVERSION).dylib
+ INSTALL_PCNAME= luajit.pc
+
+ INSTALL_STATIC= $(INSTALL_LIB)/$(INSTALL_ANAME)
diff --git a/Makefile b/Makefile
index a7d836c1fa..161d888451 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,7 @@ SUBDIR+= GenericRepeatFinder
SUBDIR+= Geomyidae-git
SUBDIR+= HP-1973
SUBDIR+= I2util
+SUBDIR+= LuaJIT-git
SUBDIR+= LuaJIT21
SUBDIR+= MoleInvasion
SUBDIR+= OpenGLUT
Home |
Main Index |
Thread Index |
Old Index