wok-6.x view wine-rt/receipt @ rev 19286
get-vivaldi: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 06 08:47:58 2016 +0200 (2016-07-06) |
parents | ecb2ef71fecf |
children | 5a9e9c83439a |
line source
1 # SliTaz package receipt.
3 PACKAGE="wine-rt"
4 VERSION="1.7.16"
5 CATEGORY="misc"
6 SHORT_DESC="Windows API for Linux."
7 MAINTAINER="xj@wp.pl"
8 LICENSE="LGPL2.1"
9 TARBALL="${PACKAGE%-rt}-$VERSION.tar.bz2"
10 WEB_SITE="http://www.winehq.org/"
11 WGET_URL="$SF_MIRROR/${PACKAGE%-rt}/$TARBALL"
12 TAGS="windows"
13 PROVIDE="wine"
15 DEPENDS="alsa-lib libxml2 libxslt mesa libglu-mesa xorg-dev lcms freetype jpeg \
16 libpng tiff"
17 BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev libglu-mesa-dev freetype-dev \
18 libtool libxml2-dev libxslt-dev lcms-dev jpeg-dev libpng-dev tiff-dev prelink"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 patch -s -Np1 -i $stuff/wine-rt-101107.patch
26 CONFIGURE_ARGS='
27 --prefix=/usr
28 --disable-tests
29 --without-capi
30 --without-cms
31 --without-coreaudio
32 --without-cups
33 --without-gphoto
34 --without-gnutls
35 --without-gsm
36 --without-ldap
37 --without-mpg123
38 --without-openal
39 --without-opencl
40 --without-openssl
41 --without-oss
42 --without-sane
43 --without-v4l
44 --disable-win16
45 --with-x
46 '
47 CFLAGS="$CFLAGS -O2 -funroll-loops -frounding-math -mfpmath=sse -msse2 \
48 -fsignaling-nans -pipe"
50 ./configure $CONFIGURE_ARGS &&
51 make $MAKEFLAGS && make install
52 }
54 # Rules to gen a SliTaz package suitable for Tazpkg.
55 genpkg_rules()
56 {
57 mkdir -p $fs/usr/lib/wine $fs/usr/share
58 cp -a $install/usr/bin $fs/usr
59 cp -a $install/usr/share/wine $fs/usr/share
60 cp -a $install/usr/share/applications $fs/usr/share
61 cp -a $install/usr/lib/lib* $fs/usr/lib
62 cp -a $install/usr/lib/wine/*.so $fs/usr/lib/wine
63 }
65 post_install()
66 {
67 [ "$1" ] || modprobe snd-seq 2>/dev/null
68 }