unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Cyril Roelandt <tipecaml@gmail.com>
To: guix-devel@gnu.org
Cc: raimonster@gmail.com
Subject: Re: luajit recipe
Date: Thu, 06 Feb 2014 02:00:21 +0100	[thread overview]
Message-ID: <52F2DEA5.2080805@gmail.com> (raw)
In-Reply-To: <87a9e5xe16.fsf@gmail.com>

On 02/06/2014 01:47 AM, Raimon Grau wrote:
> Here's the luajit package inside lua.scm .
>
> I hope everything is ok:)
>
> PS: I'm not used to send patches through mail, and gnus is suggesting
> text/x-diff mime type and inline (instead of attachment). Which is the
> prefered way?
>

Have you tried using git send-email ?

>
> 0001-gnu-Add-luajit.patch
>
>
>  From bf7c2156e8bdcbaf9f6c66b74eae6c58de3870d7 Mon Sep 17 00:00:00 2001
> From: Raimon Grau<raimonster@gmail.com>
> 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..b523fe3 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<tipecaml@gmail.com>
> +;;; Copyright © 2014 Raimon Grau<raimonster@gmail.com>
>   ;;;
>   ;;; 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

Please add a comment explaining why you disabled the 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


Cyril.

  reply	other threads:[~2014-02-06  1:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-04 21:46 luajit recipe Raimon Grau
2014-02-04 23:17 ` Ludovic Courtès
2014-02-04 23:27 ` Andreas Enge
2014-02-05  1:31 ` Cyril Roelandt
2014-02-05 13:54   ` Ludovic Courtès
2014-02-06  0:11     ` Raimon Grau
2014-02-06  0:37       ` Cyril Roelandt
2014-02-06  0:47       ` Raimon Grau
2014-02-06  1:00         ` Cyril Roelandt [this message]
2014-02-06  1:28           ` Raimon Grau
2014-02-06 18:09             ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52F2DEA5.2080805@gmail.com \
    --to=tipecaml@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=raimonster@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).