wok view wine-rt/receipt @ rev 22726

updated fish (2.1.1 -> 3.0.2)
author Hans-G?nter Theisgen
date Thu Jan 23 09:38:06 2020 +0100 (2020-01-23)
parents dfef8de3d270
children ee1d44476432
line source
1 # SliTaz package receipt.
3 PACKAGE="wine-rt"
4 VERSION="4.0.2"
5 CATEGORY="misc"
6 TAGS="windows"
7 SHORT_DESC="Windows API for Linux."
8 MAINTAINER="xj@wp.pl"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://www.winehq.org/"
12 TARBALL="${PACKAGE%-rt}-$VERSION.tar.xz"
13 WGET_URL="https://dl.winehq.org/${PACKAGE%-rt}/source/${VERSION%.*}/$TARBALL"
15 PROVIDE="wine"
16 DEPENDS="alsa-lib freetype jpeg lcms libglu-mesa libpng libxslt libxml2 mesa \
17 tiff xorg-dev"
18 BUILD_DEPENDS="alsa-lib-dev bison flex freetype-dev jpeg-dev lcms-dev libglu-mesa-dev \
19 libpng-dev libtool libxml2-dev libxslt-dev mesa-dev prelink tiff-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 # since 1.7.3.2
25 patch -s -Np1 -i $stuff/wine-rt-101107.patch
27 CONFIGURE_ARGS='
28 --prefix=/usr
29 --disable-tests
30 --without-capi
31 --without-cms
32 --without-coreaudio
33 --without-cups
34 --without-gphoto
35 --without-gnutls
36 --without-gsm
37 --without-ldap
38 --without-mpg123
39 --without-openal
40 --without-opencl
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 &&
52 make install
53 }
55 # Rules to gen a SliTaz package suitable for Tazpkg.
56 genpkg_rules()
57 {
58 mkdir -p $fs/usr/lib/wine
59 mkdir -p $fs/usr/share
61 cp -a $install/usr/bin $fs/usr
62 cp -a $install/usr/share/wine $fs/usr/share
63 cp -a $install/usr/share/applications $fs/usr/share
64 cp -a $install/usr/lib/lib* $fs/usr/lib
65 cp -a $install/usr/lib/wine/*.so $fs/usr/lib/wine
66 }
68 post_install()
69 {
70 [ "$1" ] || modprobe snd-seq 2>/dev/null
71 }