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

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 03 09:52:57 2013 +0000 (2013-10-03)
parents e80460d69b91
children ecb2ef71fecf
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 LICENSE="LGPL2.1"
9 TARBALL="${PACKAGE%-rt}-$VERSION.tar.bz2"
10 WEB_SITE="http://www.winehq.org/"
11 WGET_URL="$SF_MIRROR/${PACKAGE%-rt}/$TARBALL"
12 TAGS="windows"
13 PROVIDE="wine"
15 DEPENDS="alsa-lib libxml2 libxslt mesa libglu-mesa xorg-dev lcms freetype jpeg \
16 libpng tiff"
17 BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev libglu-mesa-dev freetype-dev \
18 libtool libxml2-dev libxslt-dev lcms-dev jpeg-dev libpng-dev tiff-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 patch -s -Np1 -i $stuff/wine-rt-101107.patch
26 CONFIGURE_ARGS='
27 --prefix=/usr
28 --disable-tests
29 --without-capi
30 --without-cms
31 --without-coreaudio
32 --without-cups
33 --without-gphoto
34 --without-gnutls
35 --without-gsm
36 --without-ldap
37 --without-mpg123
38 --without-openal
39 --without-opencl
40 --without-openssl
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 && make install
52 }
54 # Rules to gen a SliTaz package suitable for Tazpkg.
55 genpkg_rules()
56 {
57 mkdir -p $fs/usr/lib/wine $fs/usr/share
58 cp -a $install/usr/bin $fs/usr
59 cp -a $install/usr/share/wine $fs/usr/share
60 cp -a $install/usr/share/applications $fs/usr/share
61 cp -a $install/usr/lib/lib* $fs/usr/lib
62 cp -a $install/usr/lib/wine/*.so $fs/usr/lib/wine
63 }
65 post_install()
66 {
67 modprobe snd-seq 2>/dev/null
68 }