wok-stable view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="winetricks"
4 VERSION="20110429"
5 CATEGORY="misc"
6 SHORT_DESC="Script to install various redistributable runtime libraries in Wine."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="wine cabextract xorg-xmessage unzip wget"
9 SUGGESTED="zenity"
10 WEB_SITE="http://wiki.winehq.org/winetricks"
11 _WGET_URL="http://www.kegel.com/wine/$PACKAGE"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/bin
17 [ -s $SOURCES_REPOSITORY/$PACKAGE-$VERSION ] ||
18 wget -O $SOURCES_REPOSITORY/$PACKAGE-$VERSION $_WGET_URL
19 cp -a $SOURCES_REPOSITORY/$PACKAGE-$VERSION $fs/usr/bin/$PACKAGE
20 chmod a+x $fs/usr/bin/$PACKAGE
21 }