mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
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>.
This commit is contained in:
parent
63406c0bfd
commit
204d55c980
1 changed files with 13 additions and 3 deletions
|
@ -114,7 +114,10 @@ (define-syntax drop
|
|||
("pkg-config" ,pkg-config)
|
||||
("python" ,python-wrapper)))
|
||||
(arguments
|
||||
`(#:phases
|
||||
`(#:modules ((guix build gnu-build-system)
|
||||
(guix build utils)
|
||||
(ice-9 match))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'configure
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
|
@ -174,8 +177,15 @@ (define-syntax drop
|
|||
(with-directory-excursion out
|
||||
(for-each delete-file-recursively
|
||||
'("config_template" "pkginfo" "README" "VERSION"
|
||||
"link/" "misc/")))
|
||||
#t))))))
|
||||
"link/" "misc/"))
|
||||
;; 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")
|
||||
(description
|
||||
"Netpbm is a toolkit for the manipulation of graphic images, including
|
||||
|
|
Loading…
Reference in a new issue