wok-next annotate webdiapo/receipt @ rev 19549
Up cacerts (20161124), perl no more need in post_install
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 09 03:40:48 2016 +0200 (2016-12-09) |
parents | 455e425d9450 |
children | d5aab818505e |
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 } |