wok-current annotate winetricks/receipt @ rev 10699
winetricks: fix genpkg_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 28 09:26:23 2011 +0200 (2011-05-28) |
parents | 22602b3979d7 |
children | c00f8abc731a |
rev | line source |
---|---|
slaxemulator@6645 | 1 # SliTaz package receipt. |
slaxemulator@6645 | 2 |
slaxemulator@6645 | 3 PACKAGE="winetricks" |
slaxemulator@10178 | 4 VERSION="20110429" |
slaxemulator@6645 | 5 CATEGORY="misc" |
slaxemulator@6645 | 6 SHORT_DESC="Script to install various redistributable runtime libraries in Wine." |
slaxemulator@6645 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@9270 | 8 DEPENDS="wine cabextract xorg-xmessage unzip wget" |
slaxemulator@9270 | 9 SUGGESTED="zenity" |
slaxemulator@6645 | 10 WEB_SITE="http://wiki.winehq.org/winetricks" |
pascal@10698 | 11 _WGET_URL="http://www.kegel.com/wine/$PACKAGE" |
slaxemulator@6645 | 12 |
slaxemulator@6645 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6645 | 14 genpkg_rules() |
slaxemulator@6645 | 15 { |
slaxemulator@6645 | 16 mkdir -p $fs/usr/bin |
pascal@10698 | 17 [ -s $SOURCES_REPOSITORY/$PACKAGE-$VERSION ] || |
pascal@10698 | 18 wget -O $SOURCES_REPOSITORY/$PACKAGE-$VERSION $_WGET_URL |
pascal@10699 | 19 cp -a $SOURCES_REPOSITORY/$PACKAGE-$VERSION $fs/usr/bin/$PACKAGE |
pankso@6749 | 20 chmod a+x $fs/usr/bin/$PACKAGE |
slaxemulator@6645 | 21 } |
slaxemulator@6645 | 22 |