wok annotate blazekiss/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 e3079653b462
children c470ca10c896
rev   line source
pascal@13569 1 # SliTaz package receipt.
pascal@13569 2
pascal@13569 3 PACKAGE="blazekiss"
pascal@16650 4 GITHASH="d5349fb3e1a14bdf4a85273b29dd24653e2f3177"
pascal@16650 5 VERSION=${GITHASH:0:7}
pascal@13569 6 CATEGORY="office"
pascal@13569 7 SHORT_DESC="Tiny Wiki Engine in french."
pascal@13569 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15202 9 LICENSE="GPL2"
pascal@16652 10 TARBALL="$PACKAGE-$VERSION.zip"
pascal@16650 11 WEB_SITE="http://projet.idleman.fr/blazekiss/"
pascal@24974 12 WGET_URL="https://github.com/krisxoofoo/$PACKAGE/archive/$GITHASH.zip"
pascal@16650 13 CONFIG_FILES="/var/www/blazekiss/_config.php"
pascal@16650 14
pascal@13569 15 DEPENDS="lighttpd php"
pascal@16650 16 BUILD_DEPENDS="wget"
pascal@13569 17
pascal@24565 18 # What is the latest version available today?
pascal@24565 19 current_version()
pascal@24565 20 {
pascal@24565 21 wget -O - https://github.com/krisxoofoo/blazekiss/commits/master 2>/dev/null | \
pascal@24565 22 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
pascal@24565 23 }
pascal@24565 24
pascal@13569 25 # Rules to configure and make the package.
pascal@13569 26 compile_rules()
pascal@13569 27 {
pascal@13569 28 true
pascal@13569 29 }
pascal@13569 30
pascal@13569 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13569 32 genpkg_rules()
pascal@13569 33 {
pascal@13569 34 index=$(find $src -name index.php)
pascal@13569 35 src=$(dirname $index)
pascal@13569 36 mkdir -p $fs/var/www
pascal@13569 37 cp -a $src $fs/var/www/blazekiss
pascal@13569 38 rm -f $fs/var/www/blazekiss/historique/*/*.bak
pascal@13569 39 chown -R www.www $fs/var/www/blazekiss
pascal@13569 40 }