wok annotate wine-rt/receipt @ rev 18193
Up openal (1.16.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 10 16:51:38 2015 +0200 (2015-07-10) |
parents | ecb2ef71fecf |
children | 5a9e9c83439a |
rev | line source |
---|---|
al@13542 | 1 # SliTaz package receipt. |
al@13542 | 2 |
al@13542 | 3 PACKAGE="wine-rt" |
devl547@16272 | 4 VERSION="1.7.16" |
al@13542 | 5 CATEGORY="misc" |
al@13542 | 6 SHORT_DESC="Windows API for Linux." |
al@13542 | 7 MAINTAINER="xj@wp.pl" |
pascal@15363 | 8 LICENSE="LGPL2.1" |
al@13542 | 9 TARBALL="${PACKAGE%-rt}-$VERSION.tar.bz2" |
al@13542 | 10 WEB_SITE="http://www.winehq.org/" |
al@13542 | 11 WGET_URL="$SF_MIRROR/${PACKAGE%-rt}/$TARBALL" |
al@13542 | 12 TAGS="windows" |
al@13542 | 13 PROVIDE="wine" |
al@13542 | 14 |
pascal@13796 | 15 DEPENDS="alsa-lib libxml2 libxslt mesa libglu-mesa xorg-dev lcms freetype jpeg \ |
pascal@13796 | 16 libpng tiff" |
pascal@13796 | 17 BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev libglu-mesa-dev freetype-dev \ |
devl547@16272 | 18 libtool libxml2-dev libxslt-dev lcms-dev jpeg-dev libpng-dev tiff-dev prelink" |
al@13542 | 19 |
al@13542 | 20 # Rules to configure and make the package. |
al@13542 | 21 compile_rules() |
al@13542 | 22 { |
al@13542 | 23 cd $src |
al@13542 | 24 patch -s -Np1 -i $stuff/wine-rt-101107.patch |
al@13542 | 25 |
al@13542 | 26 CONFIGURE_ARGS=' |
al@13542 | 27 --prefix=/usr |
al@13542 | 28 --disable-tests |
al@13542 | 29 --without-capi |
al@13542 | 30 --without-cms |
al@13542 | 31 --without-coreaudio |
al@13542 | 32 --without-cups |
al@13542 | 33 --without-gphoto |
al@13542 | 34 --without-gnutls |
al@13542 | 35 --without-gsm |
al@13542 | 36 --without-ldap |
al@13542 | 37 --without-mpg123 |
al@13542 | 38 --without-openal |
al@13542 | 39 --without-opencl |
al@13542 | 40 --without-openssl |
al@13542 | 41 --without-oss |
al@13542 | 42 --without-sane |
al@13542 | 43 --without-v4l |
al@13542 | 44 --disable-win16 |
al@13542 | 45 --with-x |
al@13542 | 46 ' |
al@13542 | 47 CFLAGS="$CFLAGS -O2 -funroll-loops -frounding-math -mfpmath=sse -msse2 \ |
al@13542 | 48 -fsignaling-nans -pipe" |
al@13542 | 49 |
al@13542 | 50 ./configure $CONFIGURE_ARGS && |
al@13542 | 51 make $MAKEFLAGS && make install |
al@13542 | 52 } |
al@13542 | 53 |
al@13542 | 54 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13542 | 55 genpkg_rules() |
al@13542 | 56 { |
al@13542 | 57 mkdir -p $fs/usr/lib/wine $fs/usr/share |
al@13542 | 58 cp -a $install/usr/bin $fs/usr |
al@13542 | 59 cp -a $install/usr/share/wine $fs/usr/share |
al@13542 | 60 cp -a $install/usr/share/applications $fs/usr/share |
al@13542 | 61 cp -a $install/usr/lib/lib* $fs/usr/lib |
al@13542 | 62 cp -a $install/usr/lib/wine/*.so $fs/usr/lib/wine |
al@13542 | 63 } |
al@13542 | 64 |
al@13542 | 65 post_install() |
al@13542 | 66 { |
pascal@17552 | 67 [ "$1" ] || modprobe snd-seq 2>/dev/null |
al@13542 | 68 } |