wok view wine/receipt @ rev 4831
Up: beaver (0.4.0rc1) - Add custom config file, may replace geany has code editor
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jan 21 23:14:05 2010 +0100 (2010-01-21) |
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 }