wok-current view webdiapo/receipt @ rev 25042
Up lzsa (1.3.12), zstd (1.5.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 01 08:14:05 2022 +0000 (2022-06-01) |
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 }