wok-6.x view wine-rt/receipt @ rev 13554

add traceroute 2.0.18. Really this time.
author Samuel Trassare <samuel_trassare@yahoo.com>
date Fri Nov 02 19:32:40 2012 +0000 (2012-11-02)
parents
children 7d3515044bc9
line source
1 # SliTaz package receipt.
3 PACKAGE="wine-rt"
4 VERSION="1.5.15"
5 CATEGORY="misc"
6 SHORT_DESC="Windows API for Linux."
7 MAINTAINER="xj@wp.pl"
8 TARBALL="${PACKAGE%-rt}-$VERSION.tar.bz2"
9 WEB_SITE="http://www.winehq.org/"
10 WGET_URL="$SF_MIRROR/${PACKAGE%-rt}/$TARBALL"
11 TAGS="windows"
12 PROVIDE="wine"
14 DEPENDS="alsa-lib libxml2 libxslt mesa libglu-mesa xorg-dev lcms freetype"
15 BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev freetype-dev libtool \
16 libxml2-dev libxslt-dev lcms-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 patch -s -Np1 -i $stuff/wine-rt-101107.patch
24 CONFIGURE_ARGS='
25 --prefix=/usr
26 --disable-tests
27 --without-capi
28 --without-cms
29 --without-coreaudio
30 --without-cups
31 --without-gphoto
32 --without-gnutls
33 --without-gsm
34 --without-ldap
35 --without-mpg123
36 --without-openal
37 --without-opencl
38 --without-openssl
39 --without-oss
40 --without-sane
41 --without-v4l
42 --disable-win16
43 --with-x
44 '
45 CFLAGS="$CFLAGS -O2 -funroll-loops -frounding-math -mfpmath=sse -msse2 \
46 -fsignaling-nans -pipe"
48 ./configure $CONFIGURE_ARGS &&
49 make $MAKEFLAGS && make install
50 }
52 # Rules to gen a SliTaz package suitable for Tazpkg.
53 genpkg_rules()
54 {
55 mkdir -p $fs/usr/lib/wine $fs/usr/share
56 cp -a $install/usr/bin $fs/usr
57 cp -a $install/usr/share/wine $fs/usr/share
58 cp -a $install/usr/share/applications $fs/usr/share
59 cp -a $install/usr/lib/lib* $fs/usr/lib
60 cp -a $install/usr/lib/wine/*.so $fs/usr/lib/wine
61 }
63 post_install()
64 {
65 modprobe snd-seq 2>/dev/null
66 }