wok annotate wine/receipt @ rev 17641

Up: bash 4.3.30
author Alexander Medvedev <devl547@gmail.com>
date Sat Feb 14 21:20:57 2015 +0000 (2015-02-14)
parents 075e84feaec3
children 7184ec55b1aa
rev   line source
pascal@925 1 # SliTaz package receipt.
pascal@925 2
pascal@925 3 PACKAGE="wine"
devl547@16272 4 VERSION="1.7.16"
pascal@1423 5 CATEGORY="misc"
pascal@925 6 SHORT_DESC="Windows API for Linux."
pascal@925 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15363 8 LICENSE="LGPL2.1"
pascal@925 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@925 10 WEB_SITE="http://www.winehq.org/"
slaxemulator@10227 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@14528 12 TAGS="windows emulator" # wine is not an emulator
pascal@925 13
pankso@12161 14 DEPENDS="alsa-lib libxml2 libxslt mesa libglu-mesa xorg-dev lcms freetype"
pankso@12161 15 BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev freetype-dev libtool \
pascal@16536 16 libglu-mesa-dev libxml2-dev libxslt-dev lcms-dev prelink \
pascal@16537 17 jpeg-dev libpng-dev libv4l-dev gnutls-dev libgphoto2-dev cups-dev dbus-dev"
pankso@12161 18
pascal@925 19 # Rules to configure and make the package.
pascal@925 20 compile_rules()
pascal@925 21 {
pascal@925 22 cd $src
erjo@5936 23
slaxemulator@10227 24 ./configure $CONFIGURE_ARGS &&
gokhlayeh@11574 25 make $MAKEFLAGS && make install
pascal@925 26 }
pascal@925 27
pascal@925 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@925 29 genpkg_rules()
pascal@925 30 {
mojo@14724 31 mkdir -p $fs/usr/share
pascal@13375 32 cp -a $install/usr/bin $fs/usr
mojo@14724 33 cp -a $install/usr/lib $fs/usr
pascal@13375 34 cp -a $install/usr/share/wine $fs/usr/share
pascal@925 35 }
pascal@925 36
pankso@4259 37 post_install()
pankso@4259 38 {
pascal@17552 39 [ "$1" ] || modprobe snd-seq 2>/dev/null
pankso@4259 40 }