gnu: popt: Update to 1.18.
* gnu/packages/popt.scm (popt): Update to 1.18. [source](uri): Change to new tarball URL. [arguments]: Adjust test substitutions for file renames.
This commit is contained in:
parent
c866b09d40
commit
e605d3bd54
1 changed files with 6 additions and 10 deletions
|
@ -59,27 +59,23 @@ line syntax.")
|
||||||
(define-public popt
|
(define-public popt
|
||||||
(package
|
(package
|
||||||
(name "popt")
|
(name "popt")
|
||||||
(version "1.16")
|
(version "1.18")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
;; The original rpm5.org domain is not accessible since
|
(uri (string-append "http://ftp.rpm.org/popt/releases"
|
||||||
;; 2019-06-13, so use Debians copy of the tarball.
|
"/popt-1.x/popt-" version ".tar.gz"))
|
||||||
(uri (string-append "https://deb.debian.org/debian/pool/main"
|
|
||||||
"/p/popt/popt_" version ".orig.tar.gz"))
|
|
||||||
;; Ensure the file name stays the same to prevent rebuilds.
|
|
||||||
(file-name (string-append "popt-" version ".tar.gz"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1j2c61nn2n351nhj4d25mnf3vpiddcykq005w2h6kw79dwlysa77"))))
|
"1lf5zlj5rbg6s4bww7hbhpca97prgprnarx978vcwa0bl81vqnai"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'configure 'patch-test
|
(add-before 'configure 'patch-test
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "test-poptrc.in"
|
(substitute* "tests/test-poptrc.in"
|
||||||
(("/bin/echo") (which "echo")))
|
(("/bin/echo") (which "echo")))
|
||||||
(substitute* "testit.sh" ; don't expect old libtool names
|
(substitute* "tests/testit.sh" ;don't expect old libtool names
|
||||||
(("lt-test1") "test1"))
|
(("lt-test1") "test1"))
|
||||||
#t)))))
|
#t)))))
|
||||||
(home-page "http://rpm5.org/files/popt/")
|
(home-page "http://rpm5.org/files/popt/")
|
||||||
|
|
Reference in a new issue