wok view horst/receipt @ rev 25624

Add opendkim
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 16:45:57 2023 +0000 (12 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="horst"
4 VERSION="5.1"
5 CATEGORY="network"
6 SHORT_DESC="Small, lightweight IEEE802.11 wireless LAN analyzer with a text interface."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/br101/horst"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 DEPENDS="ncurses libtinfo"
15 BUILD_DEPENDS="libnl-dev ncurses-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -lrt -Wl,--copy-dt-needed-entries"
28 make
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $src/$PACKAGE $fs/usr/bin
36 }