wok-stable view wine/receipt @ rev 4998
[a-b]*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 12:41:24 2010 +0100 (2010-02-28) |
parents | cdd6b606788f |
children | 4897058add72 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wine"
4 VERSION="1.1.29"
5 CATEGORY="misc"
6 SHORT_DESC="Windows API for Linux."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="alsa-lib libxml2 libxslt libgl libglu xorg-libICE xorg-libSM
9 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext"
10 BUILD_DEPENDS="flex xorg-dev mesa-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.winehq.org/"
13 WGET_URL="http://prdownloads.sourceforge.net/$PACKAGE/$TARBALL"
14 TAGS="windows"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib/wine $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share/wine $fs/usr/share
32 cp -a $_pkg/usr/share/applications $fs/usr/share
33 cp -a $_pkg/usr/lib/lib* $fs/usr/lib
34 cp -a $_pkg/usr/lib/wine/*.so $fs/usr/lib/wine
35 }
37 post_install()
38 {
39 modprobe snd-seq 2>/dev/null
40 }