wok-next annotate wine/receipt @ rev 5304
Up: All Xorg driver (7.5 and up)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 19 22:14:19 2010 +0200 (2010-04-19) |
parents | 35ec83c60e58 |
children | c00b2c4743af |
rev | line source |
---|---|
pascal@925 | 1 # SliTaz package receipt. |
pascal@925 | 2 |
pascal@925 | 3 PACKAGE="wine" |
pascal@4256 | 4 VERSION="1.1.29" |
pascal@1423 | 5 CATEGORY="misc" |
pascal@925 | 6 SHORT_DESC="Windows API for Linux." |
pascal@925 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pankso@4259 | 8 DEPENDS="alsa-lib libxml2 libxslt libgl libglu xorg-libICE xorg-libSM |
pascal@5007 | 9 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext libgphoto2 libtool lcms \ |
pascal@5007 | 10 nvidia esound" |
pankso@4259 | 11 BUILD_DEPENDS="flex xorg-dev mesa-dev" |
pascal@925 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@925 | 13 WEB_SITE="http://www.winehq.org/" |
pascal@925 | 14 WGET_URL="http://prdownloads.sourceforge.net/$PACKAGE/$TARBALL" |
jozee@4976 | 15 TAGS="windows" |
pascal@925 | 16 |
pascal@925 | 17 # Rules to configure and make the package. |
pascal@925 | 18 compile_rules() |
pascal@925 | 19 { |
pascal@925 | 20 cd $src |
pascal@925 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1460 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1460 | 23 make && |
pascal@925 | 24 make DESTDIR=$PWD/_pkg install |
pascal@925 | 25 } |
pascal@925 | 26 |
pascal@925 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@925 | 28 genpkg_rules() |
pascal@925 | 29 { |
pascal@925 | 30 mkdir -p $fs/usr/lib/wine $fs/usr/share |
pascal@925 | 31 cp -a $_pkg/usr/bin $fs/usr |
pascal@925 | 32 cp -a $_pkg/usr/share/wine $fs/usr/share |
pascal@925 | 33 cp -a $_pkg/usr/share/applications $fs/usr/share |
pascal@925 | 34 cp -a $_pkg/usr/lib/lib* $fs/usr/lib |
pascal@925 | 35 cp -a $_pkg/usr/lib/wine/*.so $fs/usr/lib/wine |
pascal@925 | 36 } |
pascal@925 | 37 |
pankso@4259 | 38 post_install() |
pankso@4259 | 39 { |
pankso@4259 | 40 modprobe snd-seq 2>/dev/null |
pankso@4259 | 41 } |