wok-next view wine/receipt @ rev 20502
Swap: current mesa (which is developing and change it's version) is just mesa, while old mesa is mesa12 now (will be removed if no one old package require it).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 16 00:27:34 2018 +0200 (2018-03-16) |
parents | c3a368c0cddb |
children | 10df65db91ad |
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="http://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 libpng16-dev libv4l-dev gnutls-dev libgphoto2-dev xorg-dev zlib-dev"
17 SPLIT="wine-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 lcms 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 }