wok-next view wine/receipt @ rev 5234
dhcp: add init script
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 08 17:22:33 2010 +0200 (2010-04-08) |
parents | 35ec83c60e58 |
children | c00b2c4743af |
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 libgphoto2 libtool lcms \
10 nvidia esound"
11 BUILD_DEPENDS="flex xorg-dev mesa-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.winehq.org/"
14 WGET_URL="http://prdownloads.sourceforge.net/$PACKAGE/$TARBALL"
15 TAGS="windows"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib/wine $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/wine $fs/usr/share
33 cp -a $_pkg/usr/share/applications $fs/usr/share
34 cp -a $_pkg/usr/lib/lib* $fs/usr/lib
35 cp -a $_pkg/usr/lib/wine/*.so $fs/usr/lib/wine
36 }
38 post_install()
39 {
40 modprobe snd-seq 2>/dev/null
41 }