wok view sngrep/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="sngrep"
4 VERSION="1.7.0"
5 CATEGORY="network"
6 SHORT_DESC="Ncurses SIP Messages flow viewer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/irontec/sngrep"
11 WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz"
12 CONFIG_FILES="/etc/sngreprc"
14 DEPENDS="libpcap libgnutls libgcrypt pcre zlib libpanel libform \
15 libmenu libnl libffi nettle"
16 BUILD_DEPENDS="ncursesw-dev libpcap-dev gnutls-dev pcre-dev zlib-dev \
17 libpanel libform libmenu automake"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./bootstrap.sh
30 ./configure --sysconfdir=/etc \
31 --with-gnutls --with-pcre \
32 --enable-ipv6 --enable-unicode \
33 --with-zlib --enable-eep \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 cp -a $install/etc $fs/
44 cp -a $install/usr/bin $fs/usr
45 }