wok-6.x annotate wine/receipt @ rev 2660
Add libsndfile-dev
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sat Apr 18 17:56:57 2009 +0000 (2009-04-18) |
parents | c6e49dfa4f26 |
children | 70c4b5e20249 |
rev | line source |
---|---|
pascal@925 | 1 # SliTaz package receipt. |
pascal@925 | 2 |
pascal@925 | 3 PACKAGE="wine" |
erjo@1851 | 4 VERSION="1.0.1" |
pascal@1423 | 5 CATEGORY="misc" |
pascal@925 | 6 SHORT_DESC="Windows API for Linux." |
pascal@925 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pankso@2628 | 8 DEPENDS="alsa-lib cyrus-sasl libxml2 libxslt libgl libglu \ |
pascal@2437 | 9 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext" |
pascal@1460 | 10 BUILD_DEPENDS="flex xorg-dev" |
pascal@925 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@925 | 12 WEB_SITE="http://www.winehq.org/" |
pascal@925 | 13 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@925 | 14 WGET_URL="http://prdownloads.sourceforge.net/$PACKAGE/$TARBALL" |
pascal@925 | 15 |
pascal@925 | 16 # Rules to configure and make the package. |
pascal@925 | 17 compile_rules() |
pascal@925 | 18 { |
pascal@925 | 19 cd $src |
pascal@925 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1460 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1460 | 22 make && |
pascal@925 | 23 make DESTDIR=$PWD/_pkg install |
pascal@925 | 24 } |
pascal@925 | 25 |
pascal@925 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@925 | 27 genpkg_rules() |
pascal@925 | 28 { |
pascal@925 | 29 mkdir -p $fs/usr/lib/wine $fs/usr/share |
pascal@925 | 30 cp -a $_pkg/usr/bin $fs/usr |
pascal@925 | 31 cp -a $_pkg/usr/share/wine $fs/usr/share |
pascal@925 | 32 cp -a $_pkg/usr/share/applications $fs/usr/share |
pascal@925 | 33 cp -a $_pkg/usr/share/aclocal $fs/usr/share |
pascal@925 | 34 cp -a $_pkg/usr/lib/lib* $fs/usr/lib |
pascal@925 | 35 cp -a $_pkg/usr/lib/wine/*.so $fs/usr/lib/wine |
pascal@925 | 36 } |
pascal@925 | 37 |