wok annotate winetricks/receipt @ rev 24708
updated ldm (0.3 -> 0.8)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 16:37:52 2022 +0100 (2022-03-14) |
parents | 487896f99311 |
children | 3a7e1f5c8913 |
rev | line source |
---|---|
slaxemulator@6645 | 1 # SliTaz package receipt. |
slaxemulator@6645 | 2 |
slaxemulator@6645 | 3 PACKAGE="winetricks" |
Hans-G?nter@23734 | 4 VERSION="20200412" |
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" |
pascal@15363 | 8 LICENSE="GPL2" |
Hans-G?nter@22134 | 9 WEB_SITE="https://wiki.winehq.org/Winetricks" |
Hans-G?nter@22134 | 10 |
Hans-G?nter@22134 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22134 | 12 WGET_URL="https://github.com/Winetricks/$PACKAGE/archive/$VERSION.tar.gz" |
Hans-G?nter@22134 | 13 |
slaxemulator@9270 | 14 SUGGESTED="zenity" |
Hans-G?nter@22134 | 15 DEPENDS="cabextract unzip wget wine xorg-xmessage" |
slaxemulator@6645 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
Hans-G?nter@22134 | 23 # Rules to configure and make the package. |
Hans-G?nter@22134 | 24 compile_rules() |
Hans-G?nter@22134 | 25 { |
Hans-G?nter@22134 | 26 make install |
Hans-G?nter@22134 | 27 } |
pascal@15363 | 28 |
slaxemulator@6645 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6645 | 30 genpkg_rules() |
slaxemulator@6645 | 31 { |
Hans-G?nter@22134 | 32 mkdir -p $fs/usr |
Hans-G?nter@22134 | 33 cp -a $install/usr/bin $fs/usr |
slaxemulator@6645 | 34 } |