wok-next annotate wine/receipt @ rev 14449

Up: dwm (6.0)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Apr 27 02:46:31 2013 +0200 (2013-04-27)
parents 6b09507225ec
children 9b6bb1d6033f
rev   line source
pascal@925 1 # SliTaz package receipt.
pascal@925 2
pascal@925 3 PACKAGE="wine"
devl547@13976 4 VERSION="1.5.23"
pascal@1423 5 CATEGORY="misc"
pascal@925 6 SHORT_DESC="Windows API for Linux."
pascal@925 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@925 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@925 9 WEB_SITE="http://www.winehq.org/"
slaxemulator@10227 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4976 11 TAGS="windows"
pascal@925 12
pankso@12161 13 DEPENDS="alsa-lib libxml2 libxslt mesa libglu-mesa xorg-dev lcms freetype"
pankso@12161 14 BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev freetype-dev libtool \
pascal@13796 15 libglu-mesa-dev libxml2-dev libxslt-dev lcms-dev"
pankso@12161 16
pascal@925 17 # Rules to configure and make the package.
pascal@925 18 compile_rules()
pascal@925 19 {
pascal@925 20 cd $src
erjo@5936 21
slaxemulator@10227 22 ./configure $CONFIGURE_ARGS &&
gokhlayeh@11574 23 make $MAKEFLAGS && make 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@13375 30 cp -a $install/usr/bin $fs/usr
pascal@13375 31 cp -a $install/usr/share/wine $fs/usr/share
pascal@13375 32 cp -a $install/usr/share/applications $fs/usr/share
pascal@13375 33 cp -a $install/usr/lib/lib* $fs/usr/lib
pascal@13375 34 cp -a $install/usr/lib/wine/*.so $fs/usr/lib/wine
pascal@925 35 }
pascal@925 36
pankso@4259 37 post_install()
pankso@4259 38 {
pankso@4259 39 modprobe snd-seq 2>/dev/null
pankso@4259 40 }