[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/08: gnu: Add android-make-stub.
From: |
Danny Milosavljevic |
Subject: |
02/08: gnu: Add android-make-stub. |
Date: |
Wed, 9 May 2018 13:32:56 -0400 (EDT) |
dannym pushed a commit to branch master
in repository guix.
commit 74c0ee66bb742208a21603c92ba93f970909fac1
Author: Danny Milosavljevic <address@hidden>
Date: Wed May 9 19:14:21 2018 +0200
gnu: Add android-make-stub.
* gnu/packages/android.scm (android-make-stub): New variable.
---
gnu/packages/android.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index 92de973..285a285 100644
--- a/gnu/packages/android.scm
+++ b/gnu/packages/android.scm
@@ -39,6 +39,42 @@
#:use-module (gnu packages tls)
#:use-module (gnu packages linux))
+(define-public android-make-stub
+ (let ((commit "v0.1")
+ (revision "21"))
+ (package
+ (name "android-make-stub")
+ (version "0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/daym/android-make-stub.git")
+ (commit commit)))
+ (file-name (string-append "android-make-stub-"
+ version "-checkout"))
+ (sha256
+ (base32
+ "1ni4szpcx2clf3lpzrybabwk7bgvsl6ynng7xxfc49y4jkdkk4sh"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; None exist.
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (delete 'build)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out")))
+ (invoke "make" (string-append "prefix=" out) "install")
+ #t))))))
+ (home-page "https://github.com/daym/android-make-stub")
+ (synopsis "Stubs for the @command{make} system of the Android platform")
+ (description "@code{android-make-stub} provides stubs for the
address@hidden system of the Android platform. This allows us to
+use their packages mostly unmodified in our Android NDK build system.")
+ (license license:asl2.0))))
+
;; The Makefiles that we add are largely based on the Debian
;; packages. They are licensed under GPL-2 and have copyright:
;; 2012, Stefan Handschuh <address@hidden>
- branch master updated (126c9e3 -> ad23a3f), Danny Milosavljevic, 2018/05/09
- 01/08: gnu: Add address@hidden, Danny Milosavljevic, 2018/05/09
- 05/08: gnu: libbase: Use android-ndk-build-system., Danny Milosavljevic, 2018/05/09
- 02/08: gnu: Add android-make-stub.,
Danny Milosavljevic <=
- 08/08: doc: Document 'android-ndk-build-system'., Danny Milosavljevic, 2018/05/09
- 03/08: build: Add the Android NDK build-system., Danny Milosavljevic, 2018/05/09
- 04/08: gnu: liblog: Use android-ndk-build-system., Danny Milosavljevic, 2018/05/09
- 07/08: gnu: mkbootimg: Install "bootimg.h"., Danny Milosavljevic, 2018/05/09
- 06/08: gnu: adb: Use android-ndk-build-system., Danny Milosavljevic, 2018/05/09