19 lines
670 B
Bash
19 lines
670 B
Bash
# Template file for 'bettercap'
|
|
pkgname=bettercap
|
|
version=2.29
|
|
revision=1
|
|
build_style=go
|
|
go_import_path=github.com/bettercap/bettercap
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libpcap-devel libnetfilter_queue-devel libusb-devel"
|
|
short_desc="Network attack and monitoring framework"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-only"
|
|
homepage="https://github.com/bettercap/bettercap"
|
|
distfiles="https://github.com/bettercap/bettercap/archive/v${version}.tar.gz"
|
|
checksum=c414be98a48d9f279460b325dddaef8479132a1470c6f305790d79e04dac1297
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
|
CPPFLAGS="-Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t"
|
|
fi
|