wok-6.x diff shaarlo/receipt @ rev 23955
Add rhash
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 26 09:25:55 2020 +0000 (2020-09-26) |
parents | 9e01bc6321ea |
children | 5ea0ce1cecc0 |
line diff
1.1 --- a/shaarlo/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/shaarlo/receipt Sat Sep 26 09:25:55 2020 +0000 1.3 @@ -1,26 +1,32 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="shaarlo" 1.7 -GITHASH="ac6ef877ce1cbd33e85b3d041715d765a26497b7" 1.8 -VERSION=${GITHASH:0:7} 1.9 +#GITHASH="ac6ef877ce1cbd33e85b3d041715d765a26497b7" 1.10 +#VERSION=${GITHASH:0:7} 1.11 +VERSION="0.3.1" 1.12 CATEGORY="network" 1.13 SHORT_DESC="Unified Shaarlis Rss." 1.14 MAINTAINER="pascal.bellard@slitaz.org" 1.15 LICENSE="zlib/libpng" 1.16 -TARBALL="$PACKAGE-$VERSION.zip" 1.17 WEB_SITE="https://github.com/DMeloni/shaarlo" 1.18 -WGET_URL="$WEB_SITE/archive/$GITHASH.zip" 1.19 -HOST_ARCH="any" 1.20 + 1.21 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.22 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" 1.23 1.24 DEPENDS="php" 1.25 -BUILD_DEPENDS="wget" 1.26 +BUILD_DEPENDS="" 1.27 + 1.28 +HOST_ARCH="any" 1.29 1.30 # Rules to gen a SliTaz package suitable for Tazpkg. 1.31 genpkg_rules() 1.32 { 1.33 - mkdir -p $fs/var/www $fs/etc 1.34 + mkdir -p $fs/var/www 1.35 + mkdir -p $fs/etc 1.36 + 1.37 cp -a $src $fs/var/www/$PACKAGE 1.38 - mv $fs/var/www/$PACKAGE/config.php $fs/etc/shaarlo.php 1.39 + 1.40 + mv $fs/var/www/$PACKAGE/config.php.sample $fs/etc/shaarlo.php 1.41 ln -s /etc/shaarlo.php $fs/var/www/$PACKAGE/config.php 1.42 mkdir $fs/var/www/$PACKAGE/data 1.43 chmod +w $fs/var/www/$PACKAGE/data 1.44 @@ -33,4 +39,3 @@ 1.45 Configure /etc/shaarlo.php and put /var/www/$PACKAGE/refresh.php in crontab 1.46 EOT 1.47 } 1.48 -