Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions srcpkgs/ngrep/template
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
# Template file for 'ngrep'
pkgname=ngrep
version=1.47
version=1.49.0
revision=1
build_style=gnu-configure
configure_args="--enable-ipv6 --enable-pcre EXTRA_LIBS=-lpcre"
configure_args="--enable-ipv6 --enable-pcre2"
hostmakedepends="pkg-config"
makedepends="pcre-devel libpcap-devel"
makedepends="pcre2-devel libpcap-devel"
short_desc="Like GNU grep applied to the network layer"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/jpr5/ngrep"
distfiles="https://github.com/jpr5/ngrep/archive/V${version/./_}.tar.gz"
checksum=dc4dbe20991cc36bac5e97e99475e2a1522fd88c59ee2e08f813432c04c5fff3
distfiles="https://github.com/jpr5/ngrep/archive/v${version}.tar.gz"
checksum=6c94b31681316b7469a3ace92d2aeec7c9f490bd6782453dff2ade0e289a3348

if [ "$CROSS_BUILD" ]; then
configure_args+=" --with-pcap-includes=$XBPS_CROSS_BASE/usr/include/pcap"
else
configure_args+=" --with-pcap-includes=/usr/include/pcap"
configure_args+=" --with-pcap-includes=$XBPS_CROSS_BASE/usr/include"
fi

post_install() {
Expand Down