gnu: netpbm: Omit static libraries.

* gnu/packages/netpbm.scm (netpbm)[arguments]: Don't copy the static
libraries to the output.
This commit is contained in:
Tobias Geerinckx-Rice 2020-04-01 18:53:26 +02:00
parent 3f3daa1cc1
commit 3853941d25
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -170,10 +170,7 @@ (define-syntax drop
(let ((out (assoc-ref outputs "out")))
(apply system* "make" "package"
(string-append "pkgdir=" out) make-flags)
;; copy static library
(copy-file (string-append out "/link/libnetpbm.a")
(string-append out "/lib/libnetpbm.a"))
;; remove superfluous folders and files
;; Remove superfluous files.
(system* "rm" "-r" (string-append out "/link"))
(system* "rm" "-r" (string-append out "/misc"))
(with-directory-excursion out