summaryrefslogtreecommitdiff
path: root/gnu/packages/compression.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/compression.scm')
-rw-r--r--gnu/packages/compression.scm32
1 files changed, 23 insertions, 9 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 083b82bf36..287fef33ec 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -804,7 +804,10 @@ decompression of some loosely related file formats used by Microsoft.")
("valgrind" ,valgrind)))
(arguments
`(#:test-target "test"
- #:make-flags (list "CC=gcc"
+ ;; TODO: Integrate in next rebuild cycle.
+ #:make-flags (list ,(if (%current-target-system)
+ (string-append "CC=" (cc-for-target))
+ "CC=gcc")
(string-append "prefix=" (assoc-ref %outputs "out")))
#:phases (modify-phases %standard-phases
(delete 'configure) ;no configure script
@@ -845,9 +848,9 @@ time for compression ratio.")
"0zmhvczscqz0mzh4b9m8m42asq14db0a6lc8clp5ljq5ybrv70d9"))))
(build-system gnu-build-system)
(arguments
- '(#:tests? #f ; no check target
+ `(#:tests? #f ; no check target
#:make-flags
- (list "CC=gcc"
+ (list (string-append "CC=" ,(cc-for-target))
"XZ_SUPPORT=1"
"LZO_SUPPORT=1"
"LZ4_SUPPORT=1"
@@ -952,7 +955,8 @@ tarballs.")
"0j2zm3z271x5aw63mwhr3vymzn45p2vvrlrpm9cz2nywna41b0hq"))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags (list "INSTALL=install" "CC=gcc"
+ `(#:make-flags (list "INSTALL=install"
+ (string-append "CC=" ,(cc-for-target))
(string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases (modify-phases %standard-phases
(delete 'configure)
@@ -1297,7 +1301,7 @@ or junctions, and always follows hard links.")
(source
(origin (method git-fetch)
(uri (git-reference
- (url "http://github.com/twogood/unshield.git")
+ (url "http://github.com/twogood/unshield")
(commit version)))
(file-name (git-file-name name version))
(sha256
@@ -1422,7 +1426,10 @@ or junctions, and always follows hard links.")
#t))))
#:make-flags
- (list "CC=gcc"
+ ;; TODO: Integrate in next rebuild cycle.
+ (list ,(if (%current-target-system)
+ (string-append "CC=" (cc-for-target))
+ "CC=gcc")
(string-append "PREFIX=" (assoc-ref %outputs "out"))
(string-append "LIBDIR=" (assoc-ref %outputs "lib") "/lib")
(string-append "INCLUDEDIR=" (assoc-ref %outputs "lib") "/include")
@@ -1454,8 +1461,14 @@ speed.")
(version (package-version zstd))
(source (package-source zstd))
(build-system gnu-build-system)
+ (inputs
+ `(,@(if (%current-target-system)
+ `(("googletest" ,googletest))
+ '())))
(native-inputs
- `(("googletest" ,googletest)))
+ `(,@(if (%current-system)
+ `(("googletest" ,googletest))
+ '())))
(arguments
`(#:phases
(modify-phases %standard-phases
@@ -1473,7 +1486,8 @@ speed.")
(install-file "README.md" doc)
#t))))
#:make-flags
- (list "CC=gcc"
+ (list (string-append "CC=" ,(cc-for-target))
+ (string-append "CXX=" ,(cxx-for-target))
(string-append "PREFIX=" (assoc-ref %outputs "out")))))
(home-page (package-home-page zstd))
(synopsis "Threaded implementation of the Zstandard compression algorithm")
@@ -1667,7 +1681,7 @@ archive can be reverted.")
(source
(origin
(method url-fetch)
- (uri (string-append "http://savannah.nongnu.org/download/atool/atool-"
+ (uri (string-append "mirror://savannah/atool/atool-"
version ".tar.gz"))
(sha256
(base32