wok-6.x annotate horst/receipt @ rev 24422

updated claws-mail packages (3.17.5 -> 3.18.0)
author Hans-G?nter Theisgen
date Fri Feb 11 16:39:51 2022 +0100 (2022-02-11)
parents 4c9a26683899
children
rev   line source
paul@17523 1 # SliTaz package receipt.
paul@17523 2
paul@17523 3 PACKAGE="horst"
Hans-G?nter@22931 4 VERSION="5.1"
paul@17523 5 CATEGORY="network"
paul@17523 6 SHORT_DESC="Small, lightweight IEEE802.11 wireless LAN analyzer with a text interface."
paul@17523 7 MAINTAINER="paul@slitaz.org"
paul@17523 8 LICENSE="GPL2"
Hans-G?nter@22931 9 WEB_SITE="https://github.com/br101/horst"
Hans-G?nter@22931 10
paul@17523 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22931 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
paul@17523 13
mojo@17525 14 DEPENDS="ncurses libtinfo"
Hans-G?nter@22931 15 BUILD_DEPENDS="libnl-dev ncurses-dev"
paul@17523 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
paul@17523 23 # Rules to configure and make the package.
paul@17523 24 compile_rules()
paul@17523 25 {
Hans-G?nter@22931 26 export LDFLAGS="$LDFLAGS -lrt -Wl,--copy-dt-needed-entries"
paul@17523 27 make
paul@17523 28 }
paul@17523 29
paul@17523 30 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@17523 31 genpkg_rules()
paul@17523 32 {
paul@17523 33 mkdir -p $fs/usr/bin
Hans-G?nter@22931 34 cp -a $src/$PACKAGE $fs/usr/bin
paul@17523 35 }