wok-next view wine-rt/receipt @ rev 20826

palemoon: #5 sys/int_types.h
author Erkan Yilmaz <erkan@slitaz.org>
date Thu Jun 14 09:56:17 2018 +0000 (2018-06-14)
parents e323d0535e2c
children cd7906120828
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="xj@wp.pl"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.winehq.org/"
11 TARBALL="wine-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/wine/$TARBALL"
14 BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev glu-dev freetype-dev \
15 libtool libxml2-dev libxslt-dev lcms-dev jpeg-dev libpng16-dev tiff-dev prelink"
16 SPLIT="wine-rt-dev"
18 compile_rules() {
19 CFLAGS="$CFLAGS -O2 -funroll-loops -frounding-math -mfpmath=sse -msse2 \
20 -fsignaling-nans -pipe"
22 ./configure \
23 --prefix=/usr \
24 --disable-tests \
25 --without-capi \
26 --without-cms \
27 --without-coreaudio \
28 --without-cups \
29 --without-gphoto \
30 --without-gnutls \
31 --without-gsm \
32 --without-ldap \
33 --without-mpg123 \
34 --without-openal \
35 --without-opencl \
36 --without-openssl \
37 --without-oss \
38 --without-sane \
39 --without-v4l \
40 --disable-win16 \
41 --with-x \
42 $CONFIGURE_ARGS &&
43 make $MAKEFLAGS && make install
44 }
46 genpkg_rules() {
47 case $PACKAGE in
48 wine-rt)
49 mkdir -p $fs/usr/lib/wine $fs/usr/share
50 cp -a $install/usr/bin $fs/usr
51 cp -a $install/usr/share/wine $fs/usr/share
52 cp -a $install/usr/share/applications $fs/usr/share
53 cp -a $install/usr/lib/lib* $fs/usr/lib
54 cp -a $install/usr/lib/wine/*.so $fs/usr/lib/wine
55 DEPENDS="alsa-lib libxml2 libxslt mesa glu xorg-dev lcms \
56 freetype jpeg libpng16 tiff"
57 PROVIDE="wine"
58 TAGS="windows"
59 ;;
60 *-dev)
61 mkdir -p $fs/usr/lib/wine $fs/usr/share
62 cp -a $install/usr/include $fs/usr
63 cp -a $install/usr/lib/wine/*.a $fs/usr/lib/wine
64 cp -a $install/usr/lib/wine/*.def* $fs/usr/lib/wine
65 PROVIDE="wine-dev"
66 ;;
67 esac
68 }
70 post_install_wine_rt() {
71 [ "$1" ] || modprobe snd-seq 2>/dev/null
72 }