diff options
author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2025-06-11 21:00:05 +0300 |
---|---|---|
committer | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2025-06-11 21:00:05 +0300 |
commit | 7334aa05c9525b0d3c88b95097acc37495793877 (patch) | |
tree | ceb44c3d514176ec697279feaf68f40e9b4d9e3b | |
parent | 1cede23e572d7233cc9c3c883235070863e0b2ce (diff) |
gnu: wakelan: Modernize the package.
* gnu/packages/admin.scm (wakelan): Modernize the package.
Change-Id: I3e568808e76f6b0e31a2f85b3bb1ad9cc1a2cabc
-rw-r--r-- | gnu/packages/admin.scm | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 2486611a28..90f21487e1 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -2786,22 +2786,23 @@ authentication server.") "0vydqpf44146ir6k87gmqaq6xy66xhc1gkr3nsd7jj3nhy7ypx9x")))) (build-system gnu-build-system) (arguments - '(#:phases - (modify-phases %standard-phases + (list + #:tests? #f + #:phases + #~(modify-phases %standard-phases (replace 'configure - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (mkdir-p (string-append out "/bin")) - (mkdir-p (string-append out "/share/man/man1")) + (lambda* (#:key inputs #:allow-other-keys) + (mkdir-p (string-append #$output "/bin")) + (mkdir-p (string-append #$output "/share/man/man1")) - ;; It's an old configure script that doesn't understand - ;; the extra options we pass. - (setenv "CONFIG_SHELL" (which "bash")) - (invoke "./configure" - (string-append "--prefix=" out) - (string-append "--mandir=" out - "/share/man")))))) - #:tests? #f)) + ;; It's an old configure script that doesn't understand + ;; the extra options we pass. + (setenv "CONFIG_SHELL" + (search-input-file %build-inputs "bin/bash")) + (invoke "./configure" + (string-append "--prefix=" #$output) + (string-append "--mandir=" #$output + "/share/man"))))))) (home-page "https://www.kernel.org") ; really, no home page (synopsis "Send a wake-on-LAN packet") (description |