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