gnu: rtmpdump: Don't install the static library.

* gnu/packages/networking.scm (rtmpdump)[arguments]: Add
an ‘omit-static-library’ phase.
This commit is contained in:
Tobias Geerinckx-Rice 2020-08-31 19:28:33 +02:00
parent 5237aa444d
commit 55d6b357a9
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -280,6 +280,14 @@ (define-public rtmpdump
(string-append "prefix=" (assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'omit-static-library
(lambda _
(substitute* "librtmp/Makefile"
(("cp librtmp\\.a .*") ; don't install it
"")
(("librtmp\\.a ") ; don't build it
""))
#t))
(delete 'configure))))
(inputs
`(("openssl" ,openssl-1.0)