wok-6.x diff defrag/receipt @ rev 19073

Fix: (Picozu the HTML5 online image editor.)
author Leonardo Laporte <hackdorte@sapo.pt>
date Sat Apr 23 01:13:53 2016 -0300 (2016-04-23)
parents 3ccc69bd69ec
children 6e8b1bcb30e2
line diff
     1.1 --- a/defrag/receipt	Tue Dec 30 12:54:33 2014 +0100
     1.2 +++ b/defrag/receipt	Sat Apr 23 01:13:53 2016 -0300
     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  }