wok-6.x diff defrag/receipt @ rev 19658
Up cookutils (872)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 27 13:17:25 2017 +0200 (2017-01-27) |
parents | 3ccc69bd69ec |
children | 6e8b1bcb30e2 |
line diff
1.1 --- a/defrag/receipt Tue Dec 30 12:54:33 2014 +0100 1.2 +++ b/defrag/receipt Fri Jan 27 13:17:25 2017 +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 }