wok diff picoblog/receipt @ rev 15025

sipsak: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 21:34:10 2013 +0000 (2013-08-11)
parents b8e0449e61d0
children 48d3d669a814
line diff
     1.1 --- a/picoblog/receipt	Sun Dec 25 15:19:17 2011 +0100
     1.2 +++ b/picoblog/receipt	Sun Aug 11 21:34:10 2013 +0000
     1.3 @@ -5,7 +5,7 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="Tiny blog engine."
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 -_TARBALL="$PACKAGE-$VERSION.php"
     1.8 +TARBALL="$PACKAGE-$VERSION.php"
     1.9  WEB_SITE="http://dev.kd2.org/picoblog/"
    1.10  URL="http://svn.kd2.org/svn/misc/apps/picoblog/index.php"
    1.11  
    1.12 @@ -14,15 +14,15 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	[ -s "$SOURCES_REPOSITORY/$_TARBALL" ] ||
    1.17 -		wget -O "$SOURCES_REPOSITORY/$_TARBALL" $URL
    1.18 +	[ -s "$SOURCES_REPOSITORY/$TARBALL" ] ||
    1.19 +		wget -O "$SOURCES_REPOSITORY/$TARBALL" $URL
    1.20  	mkdir -p $DESTDIR/var/www/$PACKAGE 2> /dev/null
    1.21 -	cp "$SOURCES_REPOSITORY/$_TARBALL" $DESTDIR/var/www/$PACKAGE/index.php
    1.22 +	cp "$SOURCES_REPOSITORY/$TARBALL" $DESTDIR/var/www/$PACKAGE/index.php
    1.23  	chown -R 80.80 $DESTDIR/var/www/$PACKAGE
    1.24  }
    1.25  
    1.26  # Rules to gen a SliTaz package suitable for Tazpkg.   
    1.27  genpkg_rules()                                      
    1.28  {
    1.29 -	cp -a $_pkg/* $fs
    1.30 +	cp -a $install/* $fs
    1.31  }