diff options
author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2025-05-02 10:15:12 +0300 |
---|---|---|
committer | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2025-05-02 10:35:10 +0300 |
commit | f71f0922103f51b349181856a72a43b247367115 (patch) | |
tree | d30392d3dbf340b3d70ff48e4dae17b1eb1b35e5 | |
parent | 6c6eb63549cc06711011ae0e7c7faefd6694f1bf (diff) |
gnu: xfel: Update to 1.3.3.
* gnu/packages/admin.scm (xfel): Update to 1.3.3.
[arguments]<#:phases>: Patch Makefile to replace hard-coded paths (see
<https://github.com/xboot/xfel/issues/74>.)
Change-Id: I11ac84762f04fdf0fb205227db10a5273d25c7c5
-rw-r--r-- | gnu/packages/admin.scm | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 9fcbcfbbcb..2f46eee6b2 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4251,7 +4251,7 @@ in order to be able to find it. (define-public xfel (package (name "xfel") - (version "1.3.2") + (version "1.3.3") (source (origin (method git-fetch) @@ -4259,7 +4259,7 @@ in order to be able to find it. (url "https://github.com/xboot/xfel") (commit (string-append "v" version)))) (sha256 - (base32 "1x69lh0dhr3kkkrcv9wziz7m19apj4ygvss95rdb82wnl27gwrvy")) + (base32 "15xlqkj7lf3xszgfyci32lrwdjhqmmm9clmwlp1qn6hywal3d2p4")) (file-name (git-file-name name version)))) (native-inputs (list pkg-config)) @@ -4272,7 +4272,16 @@ in order to be able to find it. (string-append "DESTDIR=" #$output)) #:phases #~(modify-phases %standard-phases - (delete 'configure)))) + (delete 'configure) + (add-after 'unpack 'patch-makefile + (lambda _ + (substitute* "Makefile" + (("/usr/local") + #$output) + (("/usr/share") + (string-append #$output "/share/")) + (("/etc/udev/rules.d") + (string-append #$output "/lib/udev/rules.d")))))))) (home-page "https://github.com/xboot/xfel") (synopsis "Remote debugging tool for Allwinner devices") (description "This package contains a debugging tool for Allwinner devices |