wok-4.x annotate wine/receipt @ rev 4576
lighttpd-ssl: fix WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 09 20:50:45 2009 +0100 (2009-12-09) |
parents | 70c4b5e20249 |
children | 35ec83c60e58 |
rev | line source |
---|---|
pascal@925 | 1 # SliTaz package receipt. |
pascal@925 | 2 |
pascal@925 | 3 PACKAGE="wine" |
pascal@4256 | 4 VERSION="1.1.29" |
pascal@1423 | 5 CATEGORY="misc" |
pascal@925 | 6 SHORT_DESC="Windows API for Linux." |
pascal@925 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pankso@4259 | 8 DEPENDS="alsa-lib libxml2 libxslt libgl libglu xorg-libICE xorg-libSM |
pankso@4259 | 9 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext" |
pankso@4259 | 10 BUILD_DEPENDS="flex xorg-dev mesa-dev" |
pascal@925 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@925 | 12 WEB_SITE="http://www.winehq.org/" |
pascal@925 | 13 WGET_URL="http://prdownloads.sourceforge.net/$PACKAGE/$TARBALL" |
pascal@925 | 14 |
pascal@925 | 15 # Rules to configure and make the package. |
pascal@925 | 16 compile_rules() |
pascal@925 | 17 { |
pascal@925 | 18 cd $src |
pascal@925 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1460 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1460 | 21 make && |
pascal@925 | 22 make DESTDIR=$PWD/_pkg install |
pascal@925 | 23 } |
pascal@925 | 24 |
pascal@925 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@925 | 26 genpkg_rules() |
pascal@925 | 27 { |
pascal@925 | 28 mkdir -p $fs/usr/lib/wine $fs/usr/share |
pascal@925 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@925 | 30 cp -a $_pkg/usr/share/wine $fs/usr/share |
pascal@925 | 31 cp -a $_pkg/usr/share/applications $fs/usr/share |
pascal@925 | 32 cp -a $_pkg/usr/lib/lib* $fs/usr/lib |
pascal@925 | 33 cp -a $_pkg/usr/lib/wine/*.so $fs/usr/lib/wine |
pascal@925 | 34 } |
pascal@925 | 35 |
pankso@4259 | 36 post_install() |
pankso@4259 | 37 { |
pankso@4259 | 38 modprobe snd-seq 2>/dev/null |
pankso@4259 | 39 } |