wok view wine/receipt @ rev 19422
fwknop: gpg support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 30 19:44:10 2016 +0200 (2016-09-30) |
parents | abecef518624 |
children | c42b4a58182a |
line source
1 # SliTaz package receipt.
3 PACKAGE="wine"
4 VERSION="1.7.16"
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.bz2"
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 }