wok-6.x view webdiapo/receipt @ rev 25345
updated tar and tar-lang (1.32 -> 1.34)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 25 07:58:01 2022 +0100 (2022-07-25) |
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 }