pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/LuaJIT Imported LuaJIT from pkgsrc-wip.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3ce321c88043
branches:  trunk
changeset: 562378:3ce321c88043
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Jul 26 19:34:33 2009 +0000

description:
Imported LuaJIT from pkgsrc-wip.

LuaJIT is a Just-In-Time Compiler for the Lua programming language.

Lua is a powerful, light-weight programming language designed for extending
applications. Lua is also frequently used as a general-purpose, stand-alone
language. More information about Lua can be found at: http://www.lua.org/

LuaJIT is based on the Lua 5.1.x virtual machine and bytecode interpreter from
lua.org. It compiles bytecode to native x86 (i386+) machine code to speed up the
execution of Lua programs.

Packaged by pho%cielonegro.org@localhost.

diffstat:

 lang/LuaJIT/DESCR            |   9 +++++++++
 lang/LuaJIT/Makefile         |  31 +++++++++++++++++++++++++++++++
 lang/LuaJIT/PLIST            |   9 +++++++++
 lang/LuaJIT/distinfo         |   6 ++++++
 lang/LuaJIT/patches/patch-aa |  34 ++++++++++++++++++++++++++++++++++
 5 files changed, 89 insertions(+), 0 deletions(-)

diffs (109 lines):

diff -r 63b567eb53aa -r 3ce321c88043 lang/LuaJIT/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/LuaJIT/DESCR Sun Jul 26 19:34:33 2009 +0000
@@ -0,0 +1,9 @@
+LuaJIT is a Just-In-Time Compiler for the Lua programming language.
+
+Lua is a powerful, light-weight programming language designed for extending
+applications. Lua is also frequently used as a general-purpose, stand-alone
+language. More information about Lua can be found at: http://www.lua.org/
+
+LuaJIT is based on the Lua 5.1.x virtual machine and bytecode interpreter from
+lua.org. It compiles bytecode to native x86 (i386+) machine code to speed up the
+execution of Lua programs.
diff -r 63b567eb53aa -r 3ce321c88043 lang/LuaJIT/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/LuaJIT/Makefile      Sun Jul 26 19:34:33 2009 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/07/26 19:34:33 rillig Exp $
+#
+
+DISTNAME=      LuaJIT-1.1.5
+CATEGORIES=    lang
+MASTER_SITES=  http://luajit.org/download/
+
+MAINTAINER=    pho%cielonegro.org@localhost
+HOMEPAGE=      http://luajit.org/
+COMMENT=       Just-In-Time Compiler for the Lua programming language
+
+LICENSE=       mit
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_TOOLS+=    gmake
+
+MAKE_FLAGS+=   INSTALL_TOP=${PREFIX}
+
+.include "../../mk/bsd.prefs.mk"
+
+OPSYSVARS+=            BUILD_TARGET
+BUILD_TARGET.Linux=    linux
+BUILD_TARGET.FreeBSD=  bsd
+BUILD_TARGET.NetBSD=   bsd
+BUILD_TARGET.OpenBSD=  bsd
+BUILD_TARGET.Darwin=   macosx
+BUILD_TARGET.SunOS=    solaris
+BUILD_TARGET.*=                posix
+
+.include "../../mk/bsd.pkg.mk"
diff -r 63b567eb53aa -r 3ce321c88043 lang/LuaJIT/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/LuaJIT/PLIST Sun Jul 26 19:34:33 2009 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/07/26 19:34:33 rillig Exp $
+bin/luajit
+share/lua/5.1/jit/dis_x86.lua
+share/lua/5.1/jit/dump.lua
+share/lua/5.1/jit/dumphints.lua
+share/lua/5.1/jit/opt.lua
+share/lua/5.1/jit/opt_inline.lua
+share/lua/5.1/jit/trace.lua
+@pkgdir lib/lua/5.1
diff -r 63b567eb53aa -r 3ce321c88043 lang/LuaJIT/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/LuaJIT/distinfo      Sun Jul 26 19:34:33 2009 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/07/26 19:34:33 rillig Exp $
+
+SHA1 (LuaJIT-1.1.5.tar.gz) = 5141f2ba18d042421e51774d9f60a41d8d1d5cf2
+RMD160 (LuaJIT-1.1.5.tar.gz) = 2c0f89ede02716f4de06347ea5040f7d75086135
+Size (LuaJIT-1.1.5.tar.gz) = 362411 bytes
+SHA1 (patch-aa) = 59b8a259d60a89e9603230bad3a7f9a86a21dff1
diff -r 63b567eb53aa -r 3ce321c88043 lang/LuaJIT/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/LuaJIT/patches/patch-aa      Sun Jul 26 19:34:33 2009 +0000
@@ -0,0 +1,34 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/07/26 19:34:33 rillig Exp $
+
+--- Makefile.orig      2008-10-25 09:00:00.000000000 +0900
++++ Makefile
+@@ -61,15 +61,22 @@ test:      dummy
+       src/luajit -O -e 'io.write("Hello world, from ", jit.version, "!\n")'
+ 
+ install: dummy
+-      cd src && $(MKDIR) $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) $(INSTALL_MAN) $(INSTALL_LMOD) $(INSTALL_CMOD) $(INSTALL_LMOD)/jit
+-      cd src && $(INSTALL_EXEC) $(TO_BIN) $(INSTALL_BIN)
+-      ###cd src && $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC)
+-      ###cd src && $(INSTALL_DATA) $(TO_LIB) $(INSTALL_LIB)
+-      ###cd doc && $(INSTALL_DATA) $(TO_MAN) $(INSTALL_MAN)
+-      cd jit && $(INSTALL_DATA) *.lua $(INSTALL_LMOD)/jit
++      cd src && $(MKDIR) \
++              $(DESTDIR)$(INSTALL_BIN) \
++              $(DESTDIR)$(INSTALL_INC) \
++              $(DESTDIR)$(INSTALL_LIB) \
++              $(DESTDIR)$(INSTALL_MAN) \
++              $(DESTDIR)$(INSTALL_LMOD) \
++              $(DESTDIR)$(INSTALL_CMOD) \
++              $(DESTDIR)$(INSTALL_LMOD)/jit
++      cd src && $(INSTALL_EXEC) $(TO_BIN) $(DESTDIR)$(INSTALL_BIN)
++      ###cd src && $(INSTALL_DATA) $(TO_INC) $(DESTDIR)$(INSTALL_INC)
++      ###cd src && $(INSTALL_DATA) $(TO_LIB) $(DESTDIR)$(INSTALL_LIB)
++      ###cd doc && $(INSTALL_DATA) $(TO_MAN) $(DESTDIR)$(INSTALL_MAN)
++      cd jit && $(INSTALL_DATA) *.lua $(DESTDIR)$(INSTALL_LMOD)/jit
+ 
+ ranlib:
+-      cd src && cd $(INSTALL_LIB) && $(RANLIB) $(TO_LIB)
++      cd src && cd $(DESTDIR)$(INSTALL_LIB) && $(RANLIB) $(TO_LIB)
+ 
+ none:
+       @echo "Please do"



Home | Main Index | Thread Index | Old Index