wok rev 21901

updated shaarli (0.10.3 -> 0.11.1)
author Hans-G?nter Theisgen
date Fri Oct 04 13:08:50 2019 +0100 (2019-10-04)
parents a1dd9bbc35b6
children 02eeeabd9a8c
files shaarli/receipt
line diff
     1.1 --- a/shaarli/receipt	Thu Oct 03 20:51:42 2019 +0100
     1.2 +++ b/shaarli/receipt	Fri Oct 04 13:08:50 2019 +0100
     1.3 @@ -1,24 +1,27 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="shaarli"
     1.7 -VERSION="0.10.3"
     1.8 +VERSION="0.11.1"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="A minimalist delicious clone."
    1.11 -WEB_SITE="https://sebsauvage.net/wiki/doku.php?id=php:shaarli"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="zlib/libpng"
    1.14 +WEB_SITE="https://sebsauvage.net/wiki/doku.php?id=php:shaarli"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="https://github.com/shaarli/Shaarli/archive/v$VERSION.tar.gz"
    1.18 -HOST_ARCH="any"
    1.19  
    1.20  DEPENDS="php"
    1.21 -BUILD_DEPENDS="wget"
    1.22 +BUILD_DEPENDS=""
    1.23 +
    1.24 +HOST_ARCH="any"
    1.25  
    1.26  # Rules to gen a SliTaz package suitable for Tazpkg.   
    1.27  genpkg_rules()                                      
    1.28  {
    1.29 -	mkdir -p $fs/var/www
    1.30 -	cp -a $src $fs/var/www/$PACKAGE
    1.31 +	mkdir -p $fs/var/www/$PACKAGE
    1.32 +	cd	$fs/var/www/$PACKAGE
    1.33 +	tar --strip-components=1 -xzf $src/$PACKAGE-$VERSION.gz
    1.34  	sed -i "s|mt_rand())|mt_rand().'$WGET_URL$$')|" $fs/var/www/$PACKAGE/index.php
    1.35  }
    1.36