gnu: libpcap: Omit static library.
* gnu/packages/admin.scm (libpcap)[arguments]: Add a new 'omit-static-library phase.
This commit is contained in:
parent
3e908bb509
commit
49dc5bb7d2
1 changed files with 9 additions and 1 deletions
|
@ -1305,7 +1305,15 @@ tools: server, client, and relay agent.")
|
||||||
("flex" ,flex)))
|
("flex" ,flex)))
|
||||||
(arguments
|
(arguments
|
||||||
;; There are some tests in testprogs/, but no automated test suite.
|
;; There are some tests in testprogs/, but no automated test suite.
|
||||||
'(#:tests? #f))
|
`(#:tests? #f
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'omit-static-library
|
||||||
|
;; Neither build nor install libpcap.a.
|
||||||
|
(lambda _
|
||||||
|
(substitute* "Makefile.in"
|
||||||
|
((" libpcap\\.a") "")
|
||||||
|
((" install-archive ") " ")))))))
|
||||||
(home-page "https://www.tcpdump.org")
|
(home-page "https://www.tcpdump.org")
|
||||||
(synopsis "Network packet capture library")
|
(synopsis "Network packet capture library")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue