wok annotate zmap/receipt @ rev 25529

created recipe for neovim-0.8.3
author Hans-G?nter Theisgen
date Sat Feb 25 14:14:14 2023 +0100 (20 months ago)
parents
children 0262035dc1e7
rev   line source
pascal@24605 1 # SliTaz package receipt.
pascal@24605 2
pascal@24605 3 PACKAGE="zmap"
pascal@24605 4 VERSION="3.0.0-beta1"
pascal@24605 5 CATEGORY="network"
pascal@24605 6 SHORT_DESC="A fast single packet network scanner for Internet-wide network surveys"
pascal@24605 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@24605 8 LICENSE="Apache"
pascal@24605 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24605 10 WEB_SITE="https://zmap.io/"
pascal@24605 11 WGET_URL="https://github.com/zmap/zmap/archive/refs/tags/v$VERSION.tar.gz"
pascal@24605 12
pascal@24605 13 BUILD_DEPENDS="cmake gmp-dev gengetopt libpcap-dev flex byacc libjson-c-dev pkg-config \
pascal@24605 14 libunistring-dev hiredis-dev"
pascal@24605 15
pascal@24605 16 # What is the latest version available today?
pascal@24605 17 current_version()
pascal@24605 18 {
pascal@24605 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24605 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24605 21 }
pascal@24605 22
pascal@24605 23 # Rules to configure and make the package.
pascal@24605 24 compile_rules()
pascal@24605 25 {
pascal@24605 26 mkdir build_linux
pascal@24605 27 cd build_linux
pascal@24605 28 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
pascal@24605 29 make DESTDIR=$DESTDIR install
pascal@24605 30 }
pascal@24605 31
pascal@24605 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@24605 33 genpkg_rules()
pascal@24605 34 {
pascal@24605 35 cp -a $install/etc $fs/
pascal@24605 36 cp -a $install/usr $fs/
pascal@24605 37 }