wok view wine-rt/receipt @ rev 15021
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 11 18:44:25 2013 +0000 (2013-08-11) |
parents | 0adeb0844ae2 |
children | 2a21689b0af7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wine-rt"
4 VERSION="1.5.23"
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 jpeg \
15 libpng tiff"
16 BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev libglu-mesa-dev freetype-dev \
17 libtool libxml2-dev libxslt-dev lcms-dev jpeg-dev libpng-dev tiff-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 patch -s -Np1 -i $stuff/wine-rt-101107.patch
25 CONFIGURE_ARGS='
26 --prefix=/usr
27 --disable-tests
28 --without-capi
29 --without-cms
30 --without-coreaudio
31 --without-cups
32 --without-gphoto
33 --without-gnutls
34 --without-gsm
35 --without-ldap
36 --without-mpg123
37 --without-openal
38 --without-opencl
39 --without-openssl
40 --without-oss
41 --without-sane
42 --without-v4l
43 --disable-win16
44 --with-x
45 '
46 CFLAGS="$CFLAGS -O2 -funroll-loops -frounding-math -mfpmath=sse -msse2 \
47 -fsignaling-nans -pipe"
49 ./configure $CONFIGURE_ARGS &&
50 make $MAKEFLAGS && make install
51 }
53 # Rules to gen a SliTaz package suitable for Tazpkg.
54 genpkg_rules()
55 {
56 mkdir -p $fs/usr/lib/wine $fs/usr/share
57 cp -a $install/usr/bin $fs/usr
58 cp -a $install/usr/share/wine $fs/usr/share
59 cp -a $install/usr/share/applications $fs/usr/share
60 cp -a $install/usr/lib/lib* $fs/usr/lib
61 cp -a $install/usr/lib/wine/*.so $fs/usr/lib/wine
62 }
64 post_install()
65 {
66 modprobe snd-seq 2>/dev/null
67 }