wok-current rev 22132
updated wine and wine-dev (2.5 -> 4.0.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Nov 04 17:18:08 2019 +0100 (2019-11-04) |
parents | 0ba37e865e61 |
children | 5a9e9c83439a |
files | wine-dev/receipt wine/receipt |
line diff
1.1 --- a/wine-dev/receipt Mon Nov 04 14:25:06 2019 +0100 1.2 +++ b/wine-dev/receipt Mon Nov 04 17:18:08 2019 +0100 1.3 @@ -1,19 +1,22 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="wine-dev" 1.7 -VERSION="2.5" 1.8 +VERSION="4.0.2" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="Windows API for Linux development files." 1.11 +SHORT_DESC="Windows API for Linux - development files." 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="LGPL2.1" 1.14 -WEB_SITE="http://www.winehq.org/" 1.15 +WEB_SITE="https://www.winehq.org/" 1.16 + 1.17 WANTED="wine" 1.18 1.19 # Rules to gen a SliTaz package suitable for Tazpkg. 1.20 genpkg_rules() 1.21 { 1.22 - mkdir -p $fs/usr/lib/wine $fs/usr/share 1.23 - cp -a $install/usr/include $fs/usr 1.24 - cp -a $install/usr/lib/wine/*.a $fs/usr/lib/wine 1.25 - cp -a $install/usr/lib/wine/*.def* $fs/usr/lib/wine 1.26 + mkdir -p $fs/usr/lib/wine 1.27 + mkdir -p $fs/usr/share 1.28 + 1.29 + cp -a $install/usr/include $fs/usr 1.30 + cp -a $install/usr/lib/wine/*.a $fs/usr/lib/wine 1.31 + cp -a $install/usr/lib/wine/*.def* $fs/usr/lib/wine 1.32 }
2.1 --- a/wine/receipt Mon Nov 04 14:25:06 2019 +0100 2.2 +++ b/wine/receipt Mon Nov 04 17:18:08 2019 +0100 2.3 @@ -1,37 +1,38 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="wine" 2.7 -VERSION="2.5" 2.8 +VERSION="4.0.2" 2.9 CATEGORY="misc" 2.10 +TAGS="windows emulator" # wine is not an emulator 2.11 SHORT_DESC="Windows API for Linux." 2.12 MAINTAINER="pascal.bellard@slitaz.org" 2.13 LICENSE="LGPL2.1" 2.14 +WEB_SITE="https://www.winehq.org/" 2.15 + 2.16 TARBALL="$PACKAGE-$VERSION.tar.xz" 2.17 -WEB_SITE="http://www.winehq.org/" 2.18 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 2.19 -TAGS="windows emulator" # wine is not an emulator 2.20 +WGET_URL="https://dl.winehq.org/$PACKAGE/source/${VERSION%.*}/$TARBALL" 2.21 2.22 -DEPENDS="alsa-lib libxml2 libxslt mesa libglu-mesa lcms freetype" 2.23 -BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev freetype-dev libtool \ 2.24 -libglu-mesa-dev libxml2-dev libxslt-dev lcms-dev prelink \ 2.25 -jpeg-dev libpng-dev libv4l-dev gnutls-dev libgphoto2-dev cups-dev dbus-dev" 2.26 +DEPENDS="alsa-lib freetype lcms libglu-mesa libxml2 libxslt mesa" 2.27 +BUILD_DEPENDS="alsa-lib-dev bison cups-dev dbus-dev flex freetype-dev 2.28 + gnutls-dev jpeg-dev lcms-dev libglu-mesa-dev libgphoto2-dev 2.29 + libpng-dev libtool libv4l-dev libxml2-dev libxslt-dev 2.30 + mesa-dev prelink" 2.31 2.32 # Rules to configure and make the package. 2.33 compile_rules() 2.34 { 2.35 - cd $src 2.36 - 2.37 ./configure $CONFIGURE_ARGS && 2.38 - make $MAKEFLAGS && make install 2.39 + make $MAKEFLAGS && 2.40 + make install 2.41 } 2.42 2.43 # Rules to gen a SliTaz package suitable for Tazpkg. 2.44 genpkg_rules() 2.45 { 2.46 mkdir -p $fs/usr/share 2.47 - cp -a $install/usr/bin $fs/usr 2.48 - cp -a $install/usr/lib $fs/usr 2.49 - cp -a $install/usr/share/wine $fs/usr/share 2.50 + cp -a $install/usr/bin $fs/usr 2.51 + cp -a $install/usr/lib $fs/usr 2.52 + cp -a $install/usr/share/wine $fs/usr/share 2.53 } 2.54 2.55 post_install() 2.56 @@ -41,10 +42,11 @@ 2.57 # Enable unicode filenames and localized keyboard layouts input 2.58 . "$1/etc/locale.conf" 2.59 case $LANG in 2.60 - (C|POSIX|*UTF-8) echo $LANG - skip modifying /etc/locale.conf ;; 2.61 + (C|POSIX|*UTF-8) 2.62 + echo $LANG - skip modifying /etc/locale.conf ;; 2.63 (*) 2.64 - echo "$LANG changed to ${LANG}.UTF-8 in /etc/locale.conf" 2.65 - echo "Restart/ReLogin required." 2.66 - sed -i 's/$/&.UTF-8/' "$1/etc/locale.conf" ;; 2.67 + echo "$LANG changed to ${LANG}.UTF-8 in /etc/locale.conf" 2.68 + echo "Restart/ReLogin required." 2.69 + sed -i 's/$/&.UTF-8/' "$1/etc/locale.conf" ;; 2.70 esac 2.71 }