wok-next view wine-rt/receipt @ rev 21345
updated drbd-utils (9.11.0 -> 9.12.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 09 13:26:29 2020 +0100 (2020-04-09) |
parents | 75632eca5b07 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="wine-rt"
4 VERSION="1.7.16"
5 CATEGORY="misc"
6 SHORT_DESC="Windows API for Linux"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.winehq.org/"
10 REPOLOGY="wine"
12 TARBALL="wine-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/wine/$TARBALL"
15 BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev glu-dev freetype-dev \
16 libtool libxml2-dev libxslt-dev lcms-dev jpeg-dev libpng-dev tiff-dev prelink"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 CFLAGS="$CFLAGS -O2 -funroll-loops -frounding-math -mfpmath=sse -msse2 \
21 -fsignaling-nans -pipe"
23 ./configure \
24 --prefix=/usr \
25 --disable-tests \
26 --without-capi \
27 --without-cms \
28 --without-coreaudio \
29 --without-cups \
30 --without-gphoto \
31 --without-gnutls \
32 --without-gsm \
33 --without-ldap \
34 --without-mpg123 \
35 --without-openal \
36 --without-opencl \
37 --without-openssl \
38 --without-oss \
39 --without-sane \
40 --without-v4l \
41 --disable-win16 \
42 --with-x \
43 $CONFIGURE_ARGS &&
44 make $MAKEFLAGS && make install
45 }
47 genpkg_rules() {
48 case $PACKAGE in
49 wine-rt)
50 mkdir -p $fs/usr/lib/wine $fs/usr/share
51 cp -a $install/usr/bin $fs/usr
52 cp -a $install/usr/share/wine $fs/usr/share
53 cp -a $install/usr/share/applications $fs/usr/share
54 cp -a $install/usr/lib/lib* $fs/usr/lib
55 cp -a $install/usr/lib/wine/*.so $fs/usr/lib/wine
56 DEPENDS="alsa-lib libxml2 libxslt mesa glu xorg-dev liblcms \
57 freetype jpeg libpng libtiff"
58 PROVIDE="wine"
59 TAGS="windows"
60 ;;
61 *-dev)
62 mkdir -p $fs/usr/lib/wine $fs/usr/share
63 cp -a $install/usr/include $fs/usr
64 cp -a $install/usr/lib/wine/*.a $fs/usr/lib/wine
65 cp -a $install/usr/lib/wine/*.def* $fs/usr/lib/wine
66 PROVIDE="wine-dev"
67 ;;
68 esac
69 }
71 post_install_wine_rt() {
72 [ "$1" ] || modprobe snd-seq 2>/dev/null
73 }