wok diff shaarli/receipt @ rev 23939

Add qemu-mipsel
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 12 12:54:45 2020 +0000 (2020-09-12)
parents 02eeeabd9a8c
children 5ea0ce1cecc0
line diff
     1.1 --- a/shaarli/receipt	Fri Oct 04 13:14:23 2019 +0100
     1.2 +++ b/shaarli/receipt	Sat Sep 12 12:54:45 2020 +0000
     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