wok-6.x view wine/receipt @ rev 13344
Up: kmod (10)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Sep 07 10:12:36 2012 +0200 (2012-09-07) |
parents | 8e4c74abdf74 |
children | 4493a1991b14 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wine"
4 VERSION="1.2.3"
5 CATEGORY="misc"
6 SHORT_DESC="Windows API for Linux."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.winehq.org/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 TAGS="windows"
13 DEPENDS="alsa-lib libxml2 libxslt mesa libglu-mesa xorg-dev lcms freetype"
14 BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev freetype-dev libtool \
15 libxml2-dev libxslt-dev lcms-dev"
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 || return 1
24 ./configure $CONFIGURE_ARGS &&
25 make $MAKEFLAGS && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/wine $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/wine $fs/usr/share
34 cp -a $_pkg/usr/share/applications $fs/usr/share
35 cp -a $_pkg/usr/lib/lib* $fs/usr/lib
36 cp -a $_pkg/usr/lib/wine/*.so $fs/usr/lib/wine
37 }
39 post_install()
40 {
41 modprobe snd-seq 2>/dev/null
42 }