wok-current annotate webdiapo/receipt @ rev 19654

busybox: add buf 9471 fix (for wget)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 25 09:31:52 2017 +0100 (2017-01-25)
parents 455e425d9450
children 08f70e1780ab
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@18929 11 WGET_URL="${WEB_SITE}pages/$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 }