wok-6.x diff shaarli/receipt @ rev 23047

slitaz-i18n-extra: add audacity
author Richard Dunbar <mojo@slitaz.org>
date Thu Mar 05 22:11:28 2020 -0500 (2020-03-05)
parents 02eeeabd9a8c
children 5ea0ce1cecc0
line diff
     1.1 --- a/shaarli/receipt	Fri Oct 04 13:14:23 2019 +0100
     1.2 +++ b/shaarli/receipt	Thu Mar 05 22:11:28 2020 -0500
     1.3 @@ -12,7 +12,7 @@
     1.4  WGET_URL="https://github.com/shaarli/Shaarli/archive/v$VERSION.tar.gz"
     1.5  
     1.6  DEPENDS="php"
     1.7 -BUILD_DEPENDS="tar"
     1.8 +BUILD_DEPENDS=""
     1.9  
    1.10  HOST_ARCH="any"
    1.11  
    1.12 @@ -20,8 +20,7 @@
    1.13  genpkg_rules()                                      
    1.14  {
    1.15  	mkdir -p $fs/var/www/$PACKAGE
    1.16 -	cd	$fs/var/www/$PACKAGE
    1.17 -	/bin/tar --strip-components=1 -xzf $src/$PACKAGE-$VERSION.gz
    1.18 +	cp -a $src/*	$fs/var/www/$PACKAGE
    1.19  	sed -i "s|mt_rand())|mt_rand().'$WGET_URL$$')|" $fs/var/www/$PACKAGE/index.php
    1.20  }
    1.21