mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: f2fs-tools: Remove obsolete phase.
* gnu/packages/linux.scm (f2fs-tools)[arguments]: Remove. (f2fs-tools-1.7)[arguments]: Add #:phases.
This commit is contained in:
parent
a2c6cc4354
commit
9fc171b62a
1 changed files with 9 additions and 12 deletions
|
@ -5947,15 +5947,6 @@ (define-public f2fs-tools
|
|||
(base32
|
||||
"1ffws8pbpzp9730v0wy5xjas698lnbd2p7wpr2gl4mx45rsay9a5"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'install 'install-headers
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(out-include (string-append out "/include")))
|
||||
(install-file "include/f2fs_fs.h" out-include)
|
||||
(install-file "mkfs/f2fs_format_utils.h" out-include)))))))
|
||||
(native-inputs
|
||||
(list autoconf automake libtool pkg-config))
|
||||
(inputs
|
||||
|
@ -5988,9 +5979,15 @@ (define-public f2fs-tools-1.7
|
|||
(inputs
|
||||
(list `(,util-linux "lib") libselinux))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments f2fs-tools)
|
||||
((#:configure-flags _ #~'())
|
||||
#~'("CFLAGS=-fcommon"))))))
|
||||
'(#:configure-flags '("CFLAGS=-fcommon")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'install 'install-headers
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(out-include (string-append out "/include")))
|
||||
(install-file "include/f2fs_fs.h" out-include)
|
||||
(install-file "mkfs/f2fs_format_utils.h" out-include)))))))))
|
||||
|
||||
(define-public f2fs-tools/static
|
||||
(static-package
|
||||
|
|
Loading…
Reference in a new issue