wok diff defrag/receipt @ rev 19339

Add libzim-dev
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 19 09:39:44 2016 +0200 (2016-07-19)
parents 3ccc69bd69ec
children 6e8b1bcb30e2
line diff
     1.1 --- a/defrag/receipt	Tue Dec 30 12:54:33 2014 +0100
     1.2 +++ b/defrag/receipt	Tue Jul 19 09:39:44 2016 +0200
     1.3 @@ -8,6 +8,7 @@
     1.4  LICENSE="unknown"
     1.5  WEB_SITE="http://ck.kolivas.org/apps/defrag/README"
     1.6  URL="$(dirname $WEB_SITE)/$PACKAGE-$VERSION/$PACKAGE"
     1.7 +EXTRA_SOURCE_FILES="$PACKAGE"
     1.8  SUGGESTED="shake"
     1.9  DEPENDS="bash"
    1.10  
    1.11 @@ -15,5 +16,7 @@
    1.12  genpkg_rules()                                      
    1.13  {
    1.14  	mkdir -p $fs/usr/bin
    1.15 -	wget -P $fs/usr/bin $URL
    1.16 +	[ -s "$SOURCES_REPOSITORY/$PACKAGE" ] ||
    1.17 +		 wget -P $SOURCES_REPOSITORY $URL
    1.18 +	cp $SOURCES_REPOSITORY/$PACKAGE $fs/usr/bin
    1.19  }