wok view zmap/receipt @ rev 25680

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