wok-next view shaarlo/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d43bf7aae921
children
line source
1 # SliTaz package receipt.
3 PACKAGE="shaarlo"
4 GITHASH="ac6ef877ce1cbd33e85b3d041715d765a26497b7"
5 VERSION=${GITHASH:0:7}
6 CATEGORY="network"
7 SHORT_DESC="Unified Shaarlis Rss"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="zlib/libpng"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WEB_SITE="https://github.com/DMeloni/shaarlo"
12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
14 genpkg_rules() {
15 mkdir -p $fs/var/www $fs/etc
16 cp -a $src $fs/var/www/$PACKAGE
17 mv $fs/var/www/$PACKAGE/config.php $fs/etc/shaarlo.php
18 ln -s /etc/shaarlo.php $fs/var/www/$PACKAGE/config.php
19 mkdir $fs/var/www/$PACKAGE/data
20 chmod +w $fs/var/www/$PACKAGE/data
21 DEPENDS="php"
22 }
24 post_install() {
25 chown -R www "$1/var/www/$PACKAGE"
26 [ -n "$quiet" ] || cat <<EOT
28 .-----------------------------------------.
29 | Configure /etc/shaarlo.php and put |
30 | /var/www/shaarlo/refresh.php to crontab |
31 '-----------------------------------------'
32 EOT
33 }