unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Oleg Pykhalov <go.wigust@gmail.com>
To: bug#27691 <27691@debbugs.gnu.org>
Subject: [bug#27691] Fix spaces
Date: Mon, 17 Jul 2017 19:02:19 +0300	[thread overview]
Message-ID: <87lgnncar8.fsf@magnolia.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: bug's message of "Mon\, 17 Jul 2017 16\:00\:31 +0000"

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Fix spaces --]
[-- Type: text/x-patch, Size: 2335 bytes --]

From fa62d236c25fd50116e21fe8924d0a0edeed603a Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <go.wigust@gmail.com>
Date: Fri, 14 Jul 2017 13:04:15 +0300
Subject: [PATCH] gnu: Add premake4.

* gnu/packages/build-tools.scm (premake4): New variable.
---
 gnu/packages/build-tools.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 66f46433f..da4966bc7 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -23,6 +23,7 @@
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (gnu packages)
+  #:use-module (gnu packages compression)
   #:use-module (gnu packages python)
   #:use-module (gnu packages ninja)
   #:use-module (guix build-system gnu)
@@ -90,3 +91,37 @@ Autoconf/Automake/make combo.  Build specifications, also known as @dfn{Meson
 files}, are written in a custom domain-specific language (DSL) that resembles
 Python.")
     (license license:asl2.0)))
+
+(define-public premake4
+  (package
+    (name "premake4")
+    (version "4.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "http://downloads.sourceforge.net/project/premake/Premake/"
+                    version "/premake-" version "-src.zip"))
+              (sha256
+               (base32
+                "1017rd0wsjfyq2jvpjjhpszaa7kmig6q1nimw76qx3cjz2868lrn"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("unzip" ,unzip))) ; for unpacking the source
+    (arguments
+     `(#:make-flags '("CC=gcc")
+       #:tests? #f ; No test suite
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (add-after 'unpack 'enter-source
+           (lambda _ (chdir "build/gmake.unix") #t))
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (install-file "../../bin/release/premake4"
+                           (string-append (assoc-ref outputs "out") "/bin"))
+             #t)))))
+    (synopsis "A makefile generation tool")
+    (description "@code{premake4} is a command line utility which reads a
+scripted definition of a software project.")
+    (home-page "https://premake.github.io")
+    (license license:bsd-3)))
-- 
2.13.2

  parent reply	other threads:[~2017-07-17 16:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-14 12:41 [bug#27691] [PATCH 1/2] gnu: Add premake4 Oleg Pykhalov
2017-07-14 12:41 ` [bug#27691] [PATCH 2/2] gnu: Add t-engine Oleg Pykhalov
2017-07-14 12:50 ` [bug#27691] Specify version Oleg Pykhalov
2017-07-17 15:58 ` [bug#27691] Tabs and patches names Oleg Pykhalov
2017-07-20  9:19   ` Ludovic Courtès
2017-07-25 16:41     ` Oleg Pykhalov
2017-07-26  8:40       ` Ludovic Courtès
2017-07-26 11:12         ` Oleg Pykhalov
2017-07-26 20:32           ` Ludovic Courtès
2017-07-26 21:05             ` Oleg Pykhalov
2017-07-28  7:31             ` [bug#27691] Qemu test tome4 works for me Oleg Pykhalov
2017-07-28 20:43               ` bug#27691: " Ludovic Courtès
2017-07-17 16:02 ` Oleg Pykhalov [this message]
2017-07-20  9:08   ` [bug#27691] Fix spaces Ludovic Courtès
2017-07-28 23:06 ` [bug#27691] Clean up tome4 Oleg Pykhalov
2017-07-29 12:15   ` 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=87lgnncar8.fsf@magnolia.i-did-not-set--mail-host-address--so-tickle-me \
    --to=go.wigust@gmail.com \
    --cc=27691@debbugs.gnu.org \
    /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).