wok-next view wine/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | 5669e8b3be70 |
children |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="https://www.winehq.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev freetype-dev libtool \
15 glu-dev libxml2-dev libxslt-dev lcms-dev prelink cups-dev dbus-dev \
16 jpeg-dev libpng-dev v4l-utils-dev gnutls-dev libgphoto2-dev xorg-dev zlib-dev"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 ./configure $CONFIGURE_ARGS &&
21 make $MAKEFLAGS && make install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 wine)
27 mkdir -p $fs/usr/share
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 cp -a $install/usr/share/wine $fs/usr/share
31 DEPENDS="alsa-lib libxml2 libxslt mesa glu liblcms freetype"
32 TAGS="windows"
33 ;;
34 *-dev)
35 mkdir -p $fs/usr/lib/wine $fs/usr/share
36 cp -a $install/usr/include $fs/usr
37 cp -a $install/usr/lib/wine/*.a $fs/usr/lib/wine
38 cp -a $install/usr/lib/wine/*.def* $fs/usr/lib/wine
39 ;;
40 esac
41 }
43 post_install_wine() {
44 [ "$1" ] || modprobe snd-seq 2>/dev/null
46 # Enable unicode filenames and localized keyboard layouts input
47 . "$1/etc/locale.conf"
48 case $LANG in
49 C|POSIX|*UTF-8)
50 echo "$LANG - skip modifying /etc/locale.conf"
51 ;;
52 *)
53 echo "$LANG changed to $LANG.UTF-8 in /etc/locale.conf"
54 echo "Restart/ReLogin required."
55 sed -i 's/$/&.UTF-8/' "$1/etc/locale.conf"
56 ;;
57 esac
58 }