wok-6.x view wine/receipt @ rev 21100
updated lcms2, lcms2-apps, and lcms2-dev (2.7 -> 2.9)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 16:52:08 2019 +0100 (2019-03-18) |
parents | 9e01bc6321ea |
children | a767124ef9da |
line source
1 # SliTaz package receipt.
3 PACKAGE="wine"
4 VERSION="2.5"
5 CATEGORY="misc"
6 SHORT_DESC="Windows API for Linux."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.winehq.org/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="windows emulator" # wine is not an emulator
14 DEPENDS="alsa-lib libxml2 libxslt mesa libglu-mesa lcms freetype"
15 BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev freetype-dev libtool \
16 libglu-mesa-dev libxml2-dev libxslt-dev lcms-dev prelink \
17 jpeg-dev libpng-dev libv4l-dev gnutls-dev libgphoto2-dev cups-dev dbus-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
24 ./configure $CONFIGURE_ARGS &&
25 make $MAKEFLAGS && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib $fs/usr
34 cp -a $install/usr/share/wine $fs/usr/share
35 }
37 post_install()
38 {
39 [ "$1" ] || modprobe snd-seq 2>/dev/null
41 # Enable unicode filenames and localized keyboard layouts input
42 . "$1/etc/locale.conf"
43 case $LANG in
44 (C|POSIX|*UTF-8) echo $LANG - skip modifying /etc/locale.conf ;;
45 (*)
46 echo "$LANG changed to ${LANG}.UTF-8 in /etc/locale.conf"
47 echo "Restart/ReLogin required."
48 sed -i 's/$/&.UTF-8/' "$1/etc/locale.conf" ;;
49 esac
50 }