wok-6.x annotate wine-rt/receipt @ rev 13542

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