diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-03-03 04:03:47 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-03-03 05:06:47 +0100 |
commit | 848be51c887de9faf5b3bce81ba3a522d73e5f3e (patch) | |
tree | e489294165632212a7c3ac08c632c3384d344ecb | |
parent | 0e08ca14544f9a550fa94c2db9f6ed9f0220ef2c (diff) | |
download | guix-848be51c887de9faf5b3bce81ba3a522d73e5f3e.tar.gz |
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.
-rw-r--r-- | gnu/packages/disk.scm | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm index 7684e57a7b..0628017b9a 100644 --- a/gnu/packages/disk.scm +++ b/gnu/packages/disk.scm @@ -161,29 +161,32 @@ tables, and it understands a variety of different formats.") (define-public gptfdisk (package (name "gptfdisk") - (version "1.0.4") + (version "1.0.5") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/gptfdisk/gptfdisk/" - version "/" name "-" version ".tar.gz")) + version "/gptfdisk-" version ".tar.gz")) (sha256 - (base32 - "13d7gff4prl1nsdknjigmb7bbqhn79165n01v4y9mwbnd0d3jqxn")))) + (base32 "0bybgp30pqxb6x5krxazkq4drca0gz4inxj89fpyr204rn3kjz8f")))) (build-system gnu-build-system) (inputs `(("gettext" ,gettext-minimal) ("ncurses" ,ncurses) ("popt" ,popt) - ("util-linux" ,util-linux))) ; libuuid + ("util-linux" ,util-linux))) ; libuuid (arguments `(#:test-target "test" #:phases (modify-phases %standard-phases - ;; no configure script - (delete 'configure) - ;; no install target + (add-after 'unpack 'fix-include-directory + (lambda _ + (substitute* "gptcurses.cc" + (("ncursesw/ncurses.h") "ncurses.h")) + #t)) + (delete 'configure) ; no configure script (replace 'install + ;; There's no ‘make install’ target. (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (bin (string-append out "/bin")) |