SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libsdl"

# SliTaz package receipt.

PACKAGE="libsdl"
VERSION="1.2.14"
CATEGORY="x-window"
SHORT_DESC="Simple DirectMedia Layer (used by Qemu)."
MAINTAINER="pankso@slitaz.org"
DEPENDS="xorg-libXext xorg-libXrender xorg-libX11"
BUILD_DEPENDS="libglu-mesa xorg-libXt-dev xorg-libXext-dev xorg-libXrender-dev xorg-libX11-dev"
SOURCE="SDL"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://www.libsdl.org/"
WGET_URL="http://www.libsdl.org/release/$TARBALL"
COOK_OPT="!libtool"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    patch -Np1 -i $stuff/sdl-$VERSION-joystick-crash.diff
    patch -Np1 -i $stuff/sdl-$VERSION-fix-mouse-clicking.patch
    patch -Np1 -i $stuff/sdl-$VERSION-fix-disappearing-cursor.patch
    ./configure $CONFIGURE_ARGS && make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}

post_install()
{
    [ -d "/var/lib/tazpkg/installed/libSDL" ] && rm -rf /var/lib/tazpkg/installed/libSDL 
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)