wok view wine/receipt @ rev 23586
updated python-xlwt (0.7.2 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 07 14:31:06 2020 +0100 (2020-04-07) |
parents | c42b4a58182a |
children | ee1d44476432 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wine"
4 VERSION="4.0.2"
5 CATEGORY="misc"
6 TAGS="windows emulator" # wine is not an emulator
7 SHORT_DESC="Windows API for Linux."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://www.winehq.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://dl.winehq.org/$PACKAGE/source/${VERSION%.*}/$TARBALL"
15 DEPENDS="alsa-lib freetype lcms libglu-mesa libxml2 libxslt mesa"
16 BUILD_DEPENDS="alsa-lib-dev bison cups-dev dbus-dev flex freetype-dev
17 gnutls-dev jpeg-dev lcms-dev libglu-mesa-dev libgphoto2-dev
18 libpng-dev libtool libv4l-dev libxml2-dev libxslt-dev
19 mesa-dev prelink"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure $CONFIGURE_ARGS &&
25 make $MAKEFLAGS &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib $fs/usr
35 cp -a $install/usr/share/wine $fs/usr/share
36 }
38 post_install()
39 {
40 [ "$1" ] || modprobe snd-seq 2>/dev/null
42 # Enable unicode filenames and localized keyboard layouts input
43 . "$1/etc/locale.conf"
44 case $LANG in
45 (C|POSIX|*UTF-8)
46 echo $LANG - skip modifying /etc/locale.conf ;;
47 (*)
48 echo "$LANG changed to ${LANG}.UTF-8 in /etc/locale.conf"
49 echo "Restart/ReLogin required."
50 sed -i 's/$/&.UTF-8/' "$1/etc/locale.conf" ;;
51 esac
52 }