wok-next view shaarlo/receipt @ rev 17991
fusecloop: fix realloc index size
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 23 15:42:00 2015 +0200 (2015-04-23) |
parents | 9244e32d2348 |
children | 9e01bc6321ea |
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"
13 HOST_ARCH="any"
15 DEPENDS="php"
16 BUILD_DEPENDS="wget"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 mkdir -p $fs/var/www $fs/etc
22 cp -a $src $fs/var/www/$PACKAGE
23 mv $fs/var/www/$PACKAGE/config.php $fs/etc/shaarlo.php
24 ln -s /etc/shaarlo.php $fs/var/www/$PACKAGE/config.php
25 mkdir $fs/var/www/$PACKAGE/data
26 chmod +w $fs/var/www/$PACKAGE/data
27 }
29 post_install()
30 {
31 chown -R www $1/var/www/$PACKAGE
32 cat <<EOT
33 Configure /etc/shaarlo.php and put /var/www/$PACKAGE/refresh.php in crontab
34 EOT
35 }