wok-current view wine/receipt @ rev 4722

Up: wormux* (0.8.5)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Jan 05 15:33:20 2010 +0100 (2010-01-05)
parents 70c4b5e20249
children 35ec83c60e58
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"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib/wine $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/wine $fs/usr/share
31 cp -a $_pkg/usr/share/applications $fs/usr/share
32 cp -a $_pkg/usr/lib/lib* $fs/usr/lib
33 cp -a $_pkg/usr/lib/wine/*.so $fs/usr/lib/wine
34 }
36 post_install()
37 {
38 modprobe snd-seq 2>/dev/null
39 }