wok-6.x annotate webdiapo/receipt @ rev 18928
Add webdiapo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 25 16:42:59 2016 +0100 (2016-02-25) |
parents | |
children | cd252d2e4a4d |
rev | line source |
---|---|
pascal@18928 | 1 # SliTaz package receipt. |
pascal@18928 | 2 |
pascal@18928 | 3 PACKAGE="webdiapo" |
pascal@18928 | 4 VERSION="1" |
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" |
pascal@18928 | 9 TARBALL="WebDiapo_v$VERSION.zip" |
pascal@18928 | 10 WEB_SITE="http://eleydet.free.fr/WebDiapo/" |
pascal@18928 | 11 WGET_URL="${WEB_SITE}/$TARBALL" |
pascal@18928 | 12 |
pascal@18928 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18928 | 14 genpkg_rules() |
pascal@18928 | 15 { |
pascal@18928 | 16 mkdir -p $fs/var/www |
pascal@18928 | 17 cp -a $src $fs/var/www/webdiapo |
pascal@18928 | 18 } |
pascal@18928 | 19 |
pascal@18928 | 20 post_install() |
pascal@18928 | 21 { |
pascal@18928 | 22 cat <<EOT |
pascal@18928 | 23 Update /var/www/webdiapo/pages/ & /var/www/webdiapo/liste_diapos.js and try it: |
pascal@18928 | 24 $ tazweb --kiosk --notoolbar file:///var/www/webdiapo/index.html |
pascal@18928 | 25 EOT |
pascal@18928 | 26 } |