summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-06-07 12:07:42 +0200
committerLudovic Courtès <ludo@gnu.org>2022-06-16 23:57:41 +0200
commit9317cb3e9c6e65af6473818cadaee12f667a1783 (patch)
treecf84b0a53349c22ae61d1a5cda66bba5910ebe5e /gnu
parent925a57c5d04553ff6c514867348e7d3c5c22ca66 (diff)
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/networking.scm21
1 files changed, 12 insertions, 9 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 07ee9d3ea0e..1d092e6b96a 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3289,16 +3289,19 @@ Ethernet and TAP interfaces is supported. Packet capture is also supported.")
3289 (base32 "0k2qlq9hz5zc21nyc6yrnfqzga7hydn5mm0x3rpl2fhkwl81lxcn")) 3289 (base32 "0k2qlq9hz5zc21nyc6yrnfqzga7hydn5mm0x3rpl2fhkwl81lxcn"))
3290 (file-name (git-file-name name version)))) 3290 (file-name (git-file-name name version))))
3291 (build-system gnu-build-system) 3291 (build-system gnu-build-system)
3292 (inputs 3292 (native-inputs (list pkg-config))
3293 (list curl libpcap openssl zlib)) 3293 (inputs (list curl libpcap openssl zlib))
3294 (arguments 3294 (arguments
3295 `(#:make-flags 3295 (list #:make-flags
3296 (list ,(string-append "CC=" (cc-for-target)) 3296 #~(list (string-append "CC="
3297 (string-append "INSTALLDIR=" (assoc-ref %outputs "out") "/bin")) 3297 #$(cc-for-target)) "LDFLAGS+=-lcrypto"
3298 #:tests? #f ; no test suite 3298 "LDFLAGS+=-lcurl" "LDFLAGS+=-lz"
3299 #:phases 3299 (string-append "PREFIX="
3300 (modify-phases %standard-phases 3300 #$output))
3301 (delete 'configure)))) 3301 #:tests? #f ;no test suite
3302 #:phases
3303 #~(modify-phases %standard-phases
3304 (delete 'configure))))
3302 (home-page "https://github.com/ZerBea/hcxtools") 3305 (home-page "https://github.com/ZerBea/hcxtools")
3303 (synopsis "Capture wlan traffic to hashcat and John the Ripper") 3306 (synopsis "Capture wlan traffic to hashcat and John the Ripper")
3304 (description 3307 (description