wok-next annotate winetricks/receipt @ rev 6749

Fix: winetricks must be executable (Thanks ernia)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Oct 17 22:19:24 2010 +0200 (2010-10-17)
parents 8910b21cd8d6
children b6835a24d78e
rev   line source
slaxemulator@6645 1 # SliTaz package receipt.
slaxemulator@6645 2
slaxemulator@6645 3 PACKAGE="winetricks"
slaxemulator@6645 4 VERSION="20101008"
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@6646 8 DEPENDS="wine cabextract unzip zenity"
slaxemulator@6645 9 WEB_SITE="http://wiki.winehq.org/winetricks"
slaxemulator@6645 10
slaxemulator@6645 11 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6645 12 genpkg_rules()
slaxemulator@6645 13 {
slaxemulator@6645 14 [ -f $SOURCES_REPOSITORY/$PACKAGE-$VERSION ] ||
slaxemulator@6645 15 wget http://www.kegel.com/wine/$PACKAGE -O $SOURCES_REPOSITORY/$PACKAGE-$VERSION
slaxemulator@6645 16
slaxemulator@6645 17 mkdir -p $fs/usr/bin
slaxemulator@6645 18 cp -a $SOURCES_REPOSITORY/$PACKAGE-$VERSION $fs/usr/bin/$PACKAGE
pankso@6749 19 chmod a+x $fs/usr/bin/$PACKAGE
slaxemulator@6645 20 }
slaxemulator@6645 21