mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/sngrep: upgrade to 1.4.3
This commit is contained in:
parent
c1e1c22d15
commit
aac3a16049
@ -8,34 +8,28 @@ url="https://github.com/irontec/sngrep"
|
||||
arch="all"
|
||||
license="GPL"
|
||||
depends="sed"
|
||||
depends_dev=""
|
||||
makedepends="$depends_dev autoconf automake ncurses-dev libpcap-dev pcre-dev libressl-dev"
|
||||
install=""
|
||||
makedepends="autoconf automake ncurses-dev libpcap-dev pcre-dev libressl-dev"
|
||||
subpackages="$pkgname-doc"
|
||||
source="$pkgname-$pkgver.zip::https://github.com/irontec/$pkgname/archive/v$pkgver.zip"
|
||||
_builddir="$srcdir"/$pkgname-$pkgver
|
||||
prepare() {
|
||||
local i
|
||||
cd "$_builddir"
|
||||
for i in $source; do
|
||||
case $i in
|
||||
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
||||
esac
|
||||
done
|
||||
builddir="$srcdir"/$pkgname-$pkgver
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
make check
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
./bootstrap.sh
|
||||
./configure --prefix=/usr \
|
||||
--with-openssl \
|
||||
--with-pcre \
|
||||
--enable-ipv6
|
||||
make || return 1
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir/" install
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user