mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: libdeflate: Update to 1.15.
* gnu/packages/compression.scm (libdeflate): Update to 1.15. [build-system]: Use CMake. [arguments]: Remove #:make-flags and all custom phases. Add equivalent #:configure-flags and a custom 'check phase.
This commit is contained in:
parent
2ed751715f
commit
885f18d750
1 changed files with 7 additions and 10 deletions
|
@ -2695,7 +2695,7 @@ (define-public ecm
|
||||||
(define-public libdeflate
|
(define-public libdeflate
|
||||||
(package
|
(package
|
||||||
(name "libdeflate")
|
(name "libdeflate")
|
||||||
(version "1.14")
|
(version "1.15")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -2704,19 +2704,16 @@ (define-public libdeflate
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"09y69mnbv3mprgjp53zvin5zqznqajginrk5b25xmi9y0b83bns8"))))
|
"001l1xdc3k1dfjvl3ng480ydz0rnyvlhv54l5mshg2p9v4iz3v09"))))
|
||||||
(build-system gnu-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:make-flags
|
(list #:configure-flags
|
||||||
#~(list (string-append "CC=" #$(cc-for-target))
|
#~(list "-DLIBDEFLATE_BUILD_STATIC_LIB=NO")
|
||||||
(string-append "PREFIX=" #$output))
|
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'skip-static-library-installation
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "Makefile"
|
(invoke "../source/scripts/run_tests.sh"))))))
|
||||||
(("install .*\\$\\(STATIC_LIB\\).*") ""))))
|
|
||||||
(delete 'configure)))) ; no configure script
|
|
||||||
(inputs
|
(inputs
|
||||||
(list zlib))
|
(list zlib))
|
||||||
(home-page "https://github.com/ebiggers/libdeflate")
|
(home-page "https://github.com/ebiggers/libdeflate")
|
||||||
|
|
Loading…
Reference in a new issue