void-packages/srcpkgs/bettercap/template

19 lines
583 B
Bash

# Template file for 'bettercap'
pkgname=bettercap
version=2.11
revision=2
build_style=go
hostmakedepends="git pkg-config"
makedepends="libpcap-devel libnetfilter_queue-devel"
short_desc="Network attack and monitoring framework"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-3"
go_import_path=github.com/bettercap/bettercap
homepage="https://${go_import_path}"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=4684008ede40ec1673a8371ec6dce5484732d5d459ed308e9c882975b7996904
case "$XBPS_TARGET_MACHINE" in
x86_64-musl|i686) broken="fails to build" ;;
esac