wok diff wine/receipt @ rev 22891

updated gtest (1.7.0 -> 1.10.0)
author Hans-G?nter Theisgen
date Sun Feb 23 08:12:43 2020 +0100 (2020-02-23)
parents c42b4a58182a
children ee1d44476432
line diff
     1.1 --- a/wine/receipt	Mon Apr 03 19:35:18 2017 +0000
     1.2 +++ b/wine/receipt	Sun Feb 23 08:12:43 2020 +0100
     1.3 @@ -1,37 +1,38 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="wine"
     1.7 -VERSION="2.5"
     1.8 +VERSION="4.0.2"
     1.9  CATEGORY="misc"
    1.10 +TAGS="windows emulator" # wine is not an emulator
    1.11  SHORT_DESC="Windows API for Linux."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="LGPL2.1"
    1.14 +WEB_SITE="https://www.winehq.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17 -WEB_SITE="http://www.winehq.org/"
    1.18 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 -TAGS="windows emulator" # wine is not an emulator
    1.20 +WGET_URL="https://dl.winehq.org/$PACKAGE/source/${VERSION%.*}/$TARBALL"
    1.21  
    1.22 -DEPENDS="alsa-lib libxml2 libxslt mesa libglu-mesa lcms freetype"
    1.23 -BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev freetype-dev libtool \
    1.24 -libglu-mesa-dev libxml2-dev libxslt-dev lcms-dev prelink \
    1.25 -jpeg-dev libpng-dev libv4l-dev gnutls-dev libgphoto2-dev cups-dev dbus-dev"
    1.26 +DEPENDS="alsa-lib freetype lcms libglu-mesa libxml2 libxslt mesa"
    1.27 +BUILD_DEPENDS="alsa-lib-dev bison cups-dev dbus-dev flex freetype-dev 
    1.28 +	gnutls-dev jpeg-dev lcms-dev libglu-mesa-dev libgphoto2-dev 
    1.29 +	libpng-dev libtool libv4l-dev libxml2-dev libxslt-dev 
    1.30 +	mesa-dev prelink"
    1.31  
    1.32  # Rules to configure and make the package.
    1.33  compile_rules()
    1.34  {
    1.35 -	cd $src
    1.36 -
    1.37  	./configure $CONFIGURE_ARGS &&
    1.38 -	make $MAKEFLAGS && make install
    1.39 +	make $MAKEFLAGS &&
    1.40 +	make install
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46  	mkdir -p $fs/usr/share
    1.47 -	cp -a $install/usr/bin $fs/usr
    1.48 -	cp -a $install/usr/lib $fs/usr
    1.49 -	cp -a $install/usr/share/wine $fs/usr/share
    1.50 +	cp -a $install/usr/bin		$fs/usr
    1.51 +	cp -a $install/usr/lib		$fs/usr
    1.52 +	cp -a $install/usr/share/wine	$fs/usr/share
    1.53  }
    1.54  
    1.55  post_install()
    1.56 @@ -41,10 +42,11 @@
    1.57  	# Enable unicode filenames and localized keyboard layouts input
    1.58  	. "$1/etc/locale.conf"
    1.59  	case $LANG in
    1.60 -		(C|POSIX|*UTF-8) echo $LANG - skip modifying /etc/locale.conf ;;
    1.61 +		(C|POSIX|*UTF-8)
    1.62 +			echo $LANG - skip modifying /etc/locale.conf ;;
    1.63  		(*)
    1.64 -    		echo "$LANG changed to ${LANG}.UTF-8 in /etc/locale.conf"
    1.65 -		echo "Restart/ReLogin required."
    1.66 -		sed -i 's/$/&.UTF-8/' "$1/etc/locale.conf" ;;
    1.67 +			echo "$LANG changed to ${LANG}.UTF-8 in /etc/locale.conf"
    1.68 +			echo "Restart/ReLogin required."
    1.69 +			sed -i 's/$/&.UTF-8/' "$1/etc/locale.conf" ;;
    1.70  	esac
    1.71  }