diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-26 14:11:35 +0100 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:23:06 +0100 |
| commit | 655ab0ea1a39a1145bcc2878ebe88cfeb5c7b107 (patch) | |
| tree | a5554564232bb20d1cd8a886567ae0687935f481 /gnu/packages/android.scm | |
| parent | f5761684c3a29d618d0829c501cd5880c7276953 (diff) | |
gnu: mkbootimg: Switch to copy-build-system.
* gnu/packages/android.scm (mkbootimg):
[arguments]: Drop them.
<#:install-plan>: Set it.
[build-system]: Switch to copy-build-system.
[inputs]: Add python-wrapper.
[source, description]: Improve style.
Change-Id: I72c80fea6bd7120f70302a927ae7fa67b5bb5030
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/android.scm')
| -rw-r--r-- | gnu/packages/android.scm | 29 |
1 files changed, 9 insertions, 20 deletions
diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index 140a156340c..1a06b70d0b1 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -37,6 +37,7 @@ #:use-module (guix git-download) #:use-module (guix build-system android-ndk) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system emacs) #:use-module (guix build-system gnu) #:use-module (guix build-system go) @@ -467,29 +468,17 @@ the corresponding @command{rsync} flags.") (package (name "mkbootimg") (version (android-platform-version)) - (source (origin - (inherit (android-platform-system-core version)))) - (build-system python-build-system) + (source (android-platform-system-core version)) + (build-system copy-build-system) (arguments - `(#:tests? #f - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'enter-source - (lambda _ (chdir "mkbootimg") #t)) - (delete 'configure) - (delete 'build) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin")) - (include (string-append out "/include"))) - (install-file "mkbootimg" bin) - (install-file "bootimg.h" include) - #t)))))) + (list + #:install-plan + ''(("mkbootimg/mkbootimg" "bin/") + ("mkbootimg/bootimg.h" "include/")))) + (inputs (list python-wrapper)) (home-page "https://developer.android.com/studio/command-line/adb.html") (synopsis "Tool to create Android boot images") - (description "This package provides a tool to create Android Boot -Images.") + (description "This package provides a tool to create Android Boot Images.") (license license:asl2.0))) (define-public android-safe-iop |
