wok-current view webdiapo/receipt @ rev 25667

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