wok-6.x view wine/receipt @ rev 7883
Up: webkit-web-inspector to 1.2.6.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Jan 04 14:45:48 2011 +0000 (2011-01-04) |
parents | 07e6c84aad04 |
children | 0b4cf0d9e1b5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wine"
4 VERSION="1.2.2"
5 CATEGORY="misc"
6 SHORT_DESC="Windows API for Linux."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="alsa-lib libxml2 libxslt mesa libglu-mesa xorg-libICE xorg-libSM
9 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext libgphoto2 libtool lcms \
10 esound"
11 BUILD_DEPENDS="flex bison xorg-dev mesa-dev freetype-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
22 patch -p1 < ../stuff/wine-1.2-cdrom.c.u || exit 1
24 ./configure --prefix=/usr --infodir=/usr/share/info \
25 --mandir=/usr/share/man $CONFIGURE_ARGS &&
26 make -j 4 &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/wine $fs/usr/share
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/share/wine $fs/usr/share
36 cp -a $_pkg/usr/share/applications $fs/usr/share
37 cp -a $_pkg/usr/lib/lib* $fs/usr/lib
38 cp -a $_pkg/usr/lib/wine/*.so $fs/usr/lib/wine
39 }
41 post_install()
42 {
43 modprobe snd-seq 2>/dev/null
44 }