wok diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/zmap/receipt Sat Feb 25 14:14:14 2023 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="zmap" 1.7 +VERSION="3.0.0-beta1" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="A fast single packet network scanner for Internet-wide network surveys" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="Apache" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://zmap.io/" 1.14 +WGET_URL="https://github.com/zmap/zmap/archive/refs/tags/v$VERSION.tar.gz" 1.15 + 1.16 +BUILD_DEPENDS="cmake gmp-dev gengetopt libpcap-dev flex byacc libjson-c-dev pkg-config \ 1.17 +libunistring-dev hiredis-dev" 1.18 + 1.19 +# What is the latest version available today? 1.20 +current_version() 1.21 +{ 1.22 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.23 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.24 +} 1.25 + 1.26 +# Rules to configure and make the package. 1.27 +compile_rules() 1.28 +{ 1.29 + mkdir build_linux 1.30 + cd build_linux 1.31 + cmake -DCMAKE_INSTALL_PREFIX=/usr .. && 1.32 + make DESTDIR=$DESTDIR install 1.33 +} 1.34 + 1.35 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 +genpkg_rules() 1.37 +{ 1.38 + cp -a $install/etc $fs/ 1.39 + cp -a $install/usr $fs/ 1.40 +}