wok-next rev 10698
winetricks: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 28 09:20:24 2011 +0200 (2011-05-28) |
parents | 1b8727ba482a |
children | fc11d7d8b3a7 |
files | winetricks/receipt |
line diff
1.1 --- a/winetricks/receipt Fri May 27 23:22:41 2011 +0200 1.2 +++ b/winetricks/receipt Sat May 28 09:20:24 2011 +0200 1.3 @@ -5,16 +5,17 @@ 1.4 CATEGORY="misc" 1.5 SHORT_DESC="Script to install various redistributable runtime libraries in Wine." 1.6 MAINTAINER="slaxemulator@gmail.com" 1.7 -TARBALL="$PACKAGE-$VERSION" 1.8 DEPENDS="wine cabextract xorg-xmessage unzip wget" 1.9 SUGGESTED="zenity" 1.10 WEB_SITE="http://wiki.winehq.org/winetricks" 1.11 -WGET_URL="http://www.kegel.com/wine/$PACKAGE" 1.12 +_WGET_URL="http://www.kegel.com/wine/$PACKAGE" 1.13 1.14 # Rules to gen a SliTaz package suitable for Tazpkg. 1.15 genpkg_rules() 1.16 { 1.17 mkdir -p $fs/usr/bin 1.18 + [ -s $SOURCES_REPOSITORY/$PACKAGE-$VERSION ] || 1.19 + wget -O $SOURCES_REPOSITORY/$PACKAGE-$VERSION $_WGET_URL 1.20 cp -a $src/$PACKAGE-$VERSION $fs/usr/bin/$PACKAGE 1.21 chmod a+x $fs/usr/bin/$PACKAGE 1.22 }