From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raimon Grau Subject: Re: luajit recipe Date: Thu, 06 Feb 2014 02:28:20 +0100 Message-ID: <8738jxxc5n.fsf@gmail.com> References: <87iosulff2.fsf@gmail.com> <52F1948E.1080308@gmail.com> <87bnyl8y2g.fsf@gnu.org> <87eh3hxfpn.fsf@gmail.com> <87a9e5xe16.fsf@gmail.com> <52F2DEA5.2080805@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBDlg-0003ad-S8 for guix-devel@gnu.org; Wed, 05 Feb 2014 20:28:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBDla-0005jg-SQ for guix-devel@gnu.org; Wed, 05 Feb 2014 20:28:40 -0500 Received: from plane.gmane.org ([80.91.229.3]:53753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBDla-0005jT-L8 for guix-devel@gnu.org; Wed, 05 Feb 2014 20:28:34 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WBDlX-0001oP-Fa for guix-devel@gnu.org; Thu, 06 Feb 2014 02:28:31 +0100 Received: from 84.red-88-19-116.staticip.rima-tde.net ([88.19.116.84]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Feb 2014 02:28:31 +0100 Received: from raimonster by 84.red-88-19-116.staticip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Feb 2014 02:28:31 +0100 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/plain Cyril Roelandt writes: > > Please add a comment explaining why you disabled the tests. > Luajit just doesn't come with any tests in the distribution, and 'make test' doesn't exist. Added a comment in the code. --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-luajit.patch Content-Transfer-Encoding: 8bit Content-Description: luajit recipe >From 922d9b5e0e4d8332e3f742d1e7954feb93dbdabe Mon Sep 17 00:00:00 2001 From: Raimon Grau Date: Thu, 6 Feb 2014 01:43:31 +0100 Subject: [PATCH] gnu: Add luajit --- gnu/packages/lua.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index 14fc28c..81caa26 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013 Cyril Roelandt +;;; Copyright © 2014 Raimon Grau ;;; ;;; This file is part of GNU Guix. ;;; @@ -61,3 +62,27 @@ runs by interpreting bytecode for a register-based virtual machine, and has automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping.") (license x11))) + +(define-public luajit + (package + (name "luajit") + (version "2.0.2") + (source (origin + (method url-fetch) + (uri (string-append "http://luajit.org/download/LuaJIT-" + version ".tar.gz")) + (sha256 + (base32 "0f3cykihfdn3gi6na9p0xjd4jnv26z18m441n5vyg42q9abh4ln0")))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f ;luajit is distributed without tests + #:phases (alist-delete 'configure %standard-phases) + #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))))) + (home-page "http://www.luajit.org/") + (synopsis "Just in time compiler for Lua programming language version 5.1") + (description + "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.") + (license x11))) -- 1.8.3.2 --=-=-=--