void-packages/srcpkgs/netsniff-ng/template

31 lines
877 B
Bash
Raw Normal View History

2019-05-02 23:43:35 +00:00
# Template file for 'netsniff-ng'
pkgname=netsniff-ng
2019-05-10 02:30:30 +00:00
version=0.6.6
2019-05-02 23:43:35 +00:00
revision=1
build_style=configure
configure_args="--prefix=/usr --disable-geoip"
hostmakedepends="pkg-config flex bison"
makedepends="libcli-devel libnetfilter_conntrack-devel libpcap-devel
libnet-devel libsodium-devel liburcu-devel ncurses-devel zlib-devel"
short_desc="Free Linux networking toolkit"
maintainer="Robert Lowry <bobertlo@gmail.com>"
license="GPL-3.0-or-later"
homepage="http://netsniff-ng.org/"
distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
2019-05-10 02:30:30 +00:00
checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
2019-05-02 23:43:35 +00:00
post_extract() {
vsed -i "s|/sbin|/bin|g" Makefile
}
pre_configure() {
export NACL_INC_DIR=${XBPS_CROSS_BASE}/usr/include/sodium
export NACL_LIB=sodium
export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
}
pre_install() {
vmkdir usr/bin
}