gnu: gptfdisk: Update to 1.0.5.
* gnu/packages/disk.scm (gptfdisk): Update to 1.0.5. [source]: Hard-code NAME. [arguments]: Add ‘fix-include-directory’ phase.
This commit is contained in:
parent
0e08ca1454
commit
848be51c88
1 changed files with 11 additions and 8 deletions
|
@ -161,29 +161,32 @@ tables, and it understands a variety of different formats.")
|
||||||
(define-public gptfdisk
|
(define-public gptfdisk
|
||||||
(package
|
(package
|
||||||
(name "gptfdisk")
|
(name "gptfdisk")
|
||||||
(version "1.0.4")
|
(version "1.0.5")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://sourceforge/gptfdisk/gptfdisk/"
|
(uri (string-append "mirror://sourceforge/gptfdisk/gptfdisk/"
|
||||||
version "/" name "-" version ".tar.gz"))
|
version "/gptfdisk-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0bybgp30pqxb6x5krxazkq4drca0gz4inxj89fpyr204rn3kjz8f"))))
|
||||||
"13d7gff4prl1nsdknjigmb7bbqhn79165n01v4y9mwbnd0d3jqxn"))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("gettext" ,gettext-minimal)
|
`(("gettext" ,gettext-minimal)
|
||||||
("ncurses" ,ncurses)
|
("ncurses" ,ncurses)
|
||||||
("popt" ,popt)
|
("popt" ,popt)
|
||||||
("util-linux" ,util-linux))) ; libuuid
|
("util-linux" ,util-linux))) ; libuuid
|
||||||
(arguments
|
(arguments
|
||||||
`(#:test-target "test"
|
`(#:test-target "test"
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
;; no configure script
|
(add-after 'unpack 'fix-include-directory
|
||||||
(delete 'configure)
|
(lambda _
|
||||||
;; no install target
|
(substitute* "gptcurses.cc"
|
||||||
|
(("ncursesw/ncurses.h") "ncurses.h"))
|
||||||
|
#t))
|
||||||
|
(delete 'configure) ; no configure script
|
||||||
(replace 'install
|
(replace 'install
|
||||||
|
;; There's no ‘make install’ target.
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(bin (string-append out "/bin"))
|
(bin (string-append out "/bin"))
|
||||||
|
|
Reference in a new issue