wok-4.x view wine/receipt @ rev 2523
r*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 16 22:34:05 2009 +0000 (2009-03-16) |
parents | f9c021d9b2fc |
children | c6e49dfa4f26 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wine"
4 VERSION="1.0.1"
5 CATEGORY="misc"
6 SHORT_DESC="Windows API for Linux."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="alsa-lib cyrus-sasl libxml2 libxslt libgl libglu \
9 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext"
10 BUILD_DEPENDS="flex xorg-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.winehq.org/"
13 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 WGET_URL="http://prdownloads.sourceforge.net/$PACKAGE/$TARBALL"
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/share/aclocal $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 }