gnu: netpbm: Install an unversioned library link.
* gnu/packages/netpbm.scm (netpbm)[arguments]: Symlink libnetpbm.so.*.* to libnetpbm.so. Reported by R Veera Kumar <vkor@vkten.in>.master
parent
63406c0bfd
commit
204d55c980
|
@ -114,7 +114,10 @@
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
("python" ,python-wrapper)))
|
("python" ,python-wrapper)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:modules ((guix build gnu-build-system)
|
||||||
|
(guix build utils)
|
||||||
|
(ice-9 match))
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
@ -174,8 +177,15 @@
|
||||||
(with-directory-excursion out
|
(with-directory-excursion out
|
||||||
(for-each delete-file-recursively
|
(for-each delete-file-recursively
|
||||||
'("config_template" "pkginfo" "README" "VERSION"
|
'("config_template" "pkginfo" "README" "VERSION"
|
||||||
"link/" "misc/")))
|
"link/" "misc/"))
|
||||||
#t))))))
|
;; Install the required ‘libnetpbm.so’ link.
|
||||||
|
;; See <https://issues.guix.gnu.org/issue/40376>.
|
||||||
|
(with-directory-excursion "lib"
|
||||||
|
(symlink
|
||||||
|
(match (find-files "." "^libnetpbm\\.so\\.[^.]*\\.[^.]*$")
|
||||||
|
((head _ ...) head))
|
||||||
|
"libnetpbm.so"))
|
||||||
|
#t)))))))
|
||||||
(synopsis "Toolkit for manipulation of images")
|
(synopsis "Toolkit for manipulation of images")
|
||||||
(description
|
(description
|
||||||
"Netpbm is a toolkit for the manipulation of graphic images, including
|
"Netpbm is a toolkit for the manipulation of graphic images, including
|
||||||
|
|
Reference in New Issue