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