wok view shaarlo/receipt @ rev 23733

updated wine, wine-dev, wine-rt and wine-rt-dev (4.0.2 -> 5.0)
author Hans-G?nter Theisgen
date Fri May 01 09:47:33 2020 +0100 (2020-05-01)
parents 9e01bc6321ea
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="shaarlo"
4 #GITHASH="ac6ef877ce1cbd33e85b3d041715d765a26497b7"
5 #VERSION=${GITHASH:0:7}
6 VERSION="0.3.1"
7 CATEGORY="network"
8 SHORT_DESC="Unified Shaarlis Rss."
9 MAINTAINER="pascal.bellard@slitaz.org"
10 LICENSE="zlib/libpng"
11 WEB_SITE="https://github.com/DMeloni/shaarlo"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
16 DEPENDS="php"
17 BUILD_DEPENDS=""
19 HOST_ARCH="any"
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/var/www
25 mkdir -p $fs/etc
27 cp -a $src $fs/var/www/$PACKAGE
29 mv $fs/var/www/$PACKAGE/config.php.sample $fs/etc/shaarlo.php
30 ln -s /etc/shaarlo.php $fs/var/www/$PACKAGE/config.php
31 mkdir $fs/var/www/$PACKAGE/data
32 chmod +w $fs/var/www/$PACKAGE/data
33 }
35 post_install()
36 {
37 chown -R www "$1/var/www/$PACKAGE"
38 cat <<EOT
39 Configure /etc/shaarlo.php and put /var/www/$PACKAGE/refresh.php in crontab
40 EOT
41 }