wok-next diff shaarli/receipt @ rev 21452
updated socat (2.0.0-b7 -> 2.0.0-b9)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 07 13:23:44 2020 +0100 (2020-05-07) |
parents | 459b81bc8ce6 |
children |
line diff
1.1 --- a/shaarli/receipt Sun Apr 14 16:02:11 2019 +0200 1.2 +++ b/shaarli/receipt Thu May 07 13:23:44 2020 +0100 1.3 @@ -1,25 +1,29 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="shaarli" 1.8 -VERSION="0.10.3" 1.9 +VERSION="0.10.4" 1.10 CATEGORY="network" 1.11 -SHORT_DESC="A minimalist delicious clone" 1.12 -WEB_SITE="https://sebsauvage.net/wiki/doku.php?id=php:shaarli" 1.13 +SHORT_DESC="A minimalist bookmarking service" 1.14 MAINTAINER="pascal.bellard@slitaz.org" 1.15 LICENSE="zlib/libpng" 1.16 +WEB_SITE="https://sebsauvage.net/wiki/doku.php?id=php:shaarli" 1.17 +HOST_ARCH="any" 1.18 1.19 TARBALL="${PACKAGE}_$VERSION.tar.gz" 1.20 WGET_URL="https://github.com/shaarli/Shaarli/archive/v$VERSION.tar.gz" 1.21 1.22 -COOKOPTS="force-arch" # different index.php 1.23 +DEPENDS="php" 1.24 1.25 -genpkg_rules() { 1.26 - mkdir -p $fs/var/www 1.27 - cp -a $src $fs/var/www/$PACKAGE 1.28 - sed -i "s|mt_rand())|mt_rand().'$WGET_URL$$')|" $fs/var/www/$PACKAGE/index.php 1.29 +compile_rules() { 1.30 + mkdir -p $install/var/www 1.31 + cp -a $src $install/var/www/shaarli 1.32 + sed -i "s|mt_rand())|mt_rand().'$WGET_URL$$')|" $install/var/www/shaarli/index.php 1.33 + 1.34 + find $install -exec chmod g-w '{}' \; 1.35 + 1.36 + cook_pick_docs AUTHORS COPYING *.md 1.37 } 1.38 1.39 post_install() { 1.40 - chown -R www "$1/var/www/$PACKAGE" 1.41 - DEPENDS="php" 1.42 + chown -R 80:80 "$1/var/www/shaarli" 1.43 }