wok-6.x rev 18928

Add webdiapo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 25 16:42:59 2016 +0100 (2016-02-25)
parents 0d2e6c06ec25
children cd252d2e4a4d
files webdiapo/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/webdiapo/receipt	Thu Feb 25 16:42:59 2016 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="webdiapo"
     1.7 +VERSION="1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Tiny html slideshow."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL"
    1.12 +TARBALL="WebDiapo_v$VERSION.zip"
    1.13 +WEB_SITE="http://eleydet.free.fr/WebDiapo/"
    1.14 +WGET_URL="${WEB_SITE}/$TARBALL"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	mkdir -p $fs/var/www
    1.20 +	cp -a $src $fs/var/www/webdiapo
    1.21 +}
    1.22 +
    1.23 +post_install()
    1.24 +{
    1.25 +	cat <<EOT
    1.26 +Update /var/www/webdiapo/pages/ & /var/www/webdiapo/liste_diapos.js and try it:
    1.27 +$ tazweb --kiosk --notoolbar file:///var/www/webdiapo/index.html
    1.28 +EOT
    1.29 +}