wok-current view zmap/receipt @ rev 25487

Up exiftool (12.50), foomatic-db (4.0-20221111), lzsa (1.4.0), zlib (1.2.13)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 15 16:20:54 2022 +0000 (23 months ago)
parents
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 '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;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 }