wok annotate webdiapo/receipt @ rev 25526

created recipe for lua5.1-mpack 1.0.9
author Hans-G?nter Theisgen
date Sat Feb 25 07:18:33 2023 +0100 (20 months ago)
parents 08f70e1780ab
children
rev   line source
pascal@18928 1 # SliTaz package receipt.
pascal@18928 2
pascal@18928 3 PACKAGE="webdiapo"
Hans-G?nter@22123 4 VERSION="13"
pascal@18928 5 CATEGORY="network"
pascal@18928 6 SHORT_DESC="Tiny html slideshow."
pascal@18928 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18928 8 LICENSE="GPL"
Hans-G?nter@22123 9 WEB_SITE="http://eleydet.free.fr/WebDiapo/"
Hans-G?nter@22123 10
pascal@18928 11 TARBALL="WebDiapo_v$VERSION.zip"
pascal@18929 12 WGET_URL="${WEB_SITE}pages/$TARBALL"
pascal@18928 13
pascal@24505 14 # What is the latest version available today?
pascal@24505 15 current_version()
pascal@24505 16 {
pascal@24505 17 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24505 18 sed '/Version/!d;s|.*Version ||;s|<.*||'
pascal@24505 19 }
pascal@24505 20
pascal@18928 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18928 22 genpkg_rules()
pascal@18928 23 {
pascal@18928 24 mkdir -p $fs/var/www
pascal@18928 25 cp -a $src $fs/var/www/webdiapo
pascal@18928 26 }
pascal@18928 27
pascal@18928 28 post_install()
pascal@18928 29 {
pascal@18928 30 cat <<EOT
pascal@18928 31 Update /var/www/webdiapo/pages/ & /var/www/webdiapo/liste_diapos.js and try it:
pascal@18928 32 $ tazweb --kiosk --notoolbar file:///var/www/webdiapo/index.html
pascal@18928 33 EOT
pascal@18928 34 }