wok diff asxxxx/receipt @ rev 25064
openvas-libraries, openvas-client: update gnutls calls
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 08 16:46:37 2022 +0000 (2022-06-08) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/asxxxx/receipt Wed Jun 08 16:46:37 2022 +0000 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="asxxxx" 1.7 +VERSION="5.40" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Collection of cross assemblers for many microprocessors." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL3" 1.12 +TARBALL="$PACKAGE-$VERSION.zip" 1.13 +WEB_SITE="https://shop-pdp.net/ashtml/asxxxx.php" 1.14 +WGET_URL="https://shop-pdp.net/_ftp/asxxxx/asxs${VERSION/./p}.zip" 1.15 + 1.16 +# What is the latest version available today? 1.17 +current_version() 1.18 +{ 1.19 + wget -O - $WEB_SITE 2>/dev/null | \ 1.20 + sed '/ersion/!d;s|.*sion ||;s|,.*||;q' 1.21 +} 1.22 + 1.23 +# Rules to configure and make the package. 1.24 +compile_rules() 1.25 +{ 1.26 + mkdir -p $DESTDIR/usr/bin 1.27 + cd $src/asxv*pxx/asxmak/linux/build 1.28 + make DSTEXE=$DESTDIR/usr/bin/ 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + mkdir -p $fs/usr $install/usr/share/doc 1.35 + cp $src/*.txt $install/usr/share/doc 1.36 + cp -a $install/usr/bin $fs/usr 1.37 +} 1.38 +