SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "wine"

# SliTaz package receipt.

PACKAGE="wine"
VERSION="1.2.3"
CATEGORY="misc"
SHORT_DESC="Windows API for Linux."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.winehq.org/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
TAGS="windows"

DEPENDS="alsa-lib libxml2 libxslt mesa libglu-mesa xorg-dev lcms freetype"
BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev freetype-dev libtool \
libxml2-dev libxslt-dev lcms-dev"

# Rules to configure and make the package.
compile_rules()
{
    cd $src

    patch -p1 < $stuff/wine-1.2-cdrom.c.u || return 1

    ./configure $CONFIGURE_ARGS &&
    make $MAKEFLAGS && make 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
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)