# SliTaz package receipt.
PACKAGE="wine"
VERSION="1.1.43"
CATEGORY="misc"
SHORT_DESC="Windows API for Linux."
MAINTAINER="pascal.bellard@slitaz.org"
DEPENDS="alsa-lib libxml2 libxslt libgl libglu xorg-libICE xorg-libSM
xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext libgphoto2 libtool lcms \
nvidia esound"
BUILD_DEPENDS="flex bison xorg-dev mesa-dev"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.winehq.org/"
WGET_URL="http://prdownloads.sourceforge.net/$PACKAGE/$TARBALL"
TAGS="windows"
# Rules to configure and make the package.
compile_rules()
{
cd $src
./configure --prefix=/usr --infodir=/usr/share/info \
--mandir=/usr/share/man $CONFIGURE_ARGS &&
make &&
make DESTDIR=$PWD/_pkg install
}
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
mkdir -p $fs/usr/lib/wine $fs/usr/share
cp -a $_pkg/usr/bin $fs/usr
cp -a $_pkg/usr/share/wine $fs/usr/share
cp -a $_pkg/usr/share/applications $fs/usr/share
cp -a $_pkg/usr/lib/lib* $fs/usr/lib
cp -a $_pkg/usr/lib/wine/*.so $fs/usr/lib/wine
}
post_install()
{
modprobe snd-seq 2>/dev/null
}
It looks like you're new here. If you want to get involved, click one of these buttons!