New package: netsniff-ng-0.6.5
This commit is contained in:
parent
7f1d7ee5c3
commit
4b9b1bc252
1 changed files with 30 additions and 0 deletions
30
srcpkgs/netsniff-ng/template
Normal file
30
srcpkgs/netsniff-ng/template
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Template file for 'netsniff-ng'
|
||||
pkgname=netsniff-ng
|
||||
version=0.6.5
|
||||
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"
|
||||
checksum=9d8ef156356b05a303061a5b86e1fe0c27c3fcceaa4f790f3c0cb2367c54589a
|
||||
|
||||
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
|
||||
}
|
Loading…
Reference in a new issue