me
/
guix
Archived
1
0
Fork 0

gnu: hcxtools: Use gexps.

* gnu/packages/networking.scm (hcxtools)[arguments]: Link libraries and
use PREFIX instead of INSTALL_DIR.
[phases]: Use gexps.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Petr Hodina 2022-06-07 12:07:42 +02:00 committed by Ludovic Courtès
parent 925a57c5d0
commit 9317cb3e9c
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 12 additions and 9 deletions

View File

@ -3289,16 +3289,19 @@ Ethernet and TAP interfaces is supported. Packet capture is also supported.")
(base32 "0k2qlq9hz5zc21nyc6yrnfqzga7hydn5mm0x3rpl2fhkwl81lxcn"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(inputs
(list curl libpcap openssl zlib))
(native-inputs (list pkg-config))
(inputs (list curl libpcap openssl zlib))
(arguments
`(#:make-flags
(list ,(string-append "CC=" (cc-for-target))
(string-append "INSTALLDIR=" (assoc-ref %outputs "out") "/bin"))
#:tests? #f ; no test suite
#:phases
(modify-phases %standard-phases
(delete 'configure))))
(list #:make-flags
#~(list (string-append "CC="
#$(cc-for-target)) "LDFLAGS+=-lcrypto"
"LDFLAGS+=-lcurl" "LDFLAGS+=-lz"
(string-append "PREFIX="
#$output))
#:tests? #f ;no test suite
#:phases
#~(modify-phases %standard-phases
(delete 'configure))))
(home-page "https://github.com/ZerBea/hcxtools")
(synopsis "Capture wlan traffic to hashcat and John the Ripper")
(description