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

thunderbird-langpack-it: Up to 17.0.6esr
author Dominique Corbex <domcox@slitaz.org>
date Thu May 23 10:10:37 2013 +0200 (2013-05-23)
parents 40cacec2a7a6
children 10e6c72b2c15
line diff
     1.1 --- a/shaarli/receipt	Fri Mar 08 15:31:59 2013 +0100
     1.2 +++ b/shaarli/receipt	Thu May 23 10:10:37 2013 +0200
     1.3 @@ -6,16 +6,16 @@
     1.4  SHORT_DESC="A minimalist delicious clone."
     1.5  WEB_SITE="http://sebsauvage.net/wiki/doku.php?id=php:shaarli"
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 -_TARBALL="${PACKAGE}_$VERSION.zip"
     1.8 -_URL="http://sebsauvage.net/files/$_TARBALL"
     1.9 +TARBALL="${PACKAGE}_$VERSION.zip"
    1.10 +_URL="http://sebsauvage.net/files/$TARBALL"
    1.11  
    1.12  DEPENDS="php"
    1.13  
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {
    1.17 -	[ -s "$SOURCES_REPOSITORY/$_TARBALL" ] ||
    1.18 -		wget -O "$SOURCES_REPOSITORY/$_TARBALL" $_URL
    1.19 +	[ -s "$SOURCES_REPOSITORY/$TARBALL" ] ||
    1.20 +		wget -O "$SOURCES_REPOSITORY/$TARBALL" $_URL
    1.21  	mkdir -p $src 2> /dev/null
    1.22  }
    1.23  
    1.24 @@ -24,7 +24,7 @@
    1.25  {
    1.26  	mkdir -p $fs/var/www
    1.27  	cd $fs/var/www
    1.28 -	unzip "$SOURCES_REPOSITORY/$_TARBALL"
    1.29 +	unzip "$SOURCES_REPOSITORY/$TARBALL"
    1.30  	mv $fs/var/www/$PACKAGE* $fs/var/www/$PACKAGE
    1.31  	sed -i "s|mt_rand())|mt_rand().'$_URL$$')|" $fs/var/www/$PACKAGE/index.php
    1.32  }