wok view libsdl/receipt @ rev 14595

libxcb: have no version 1.9.1
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon May 27 18:54:02 2013 +0000 (2013-05-27)
parents b7319995b37e
children 6eff489aa802
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl"
4 VERSION="1.2.14"
5 CATEGORY="x-window"
6 SHORT_DESC="Simple DirectMedia Layer (used by Qemu)."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg-libXext xorg-libXrender xorg-libX11"
9 BUILD_DEPENDS="libglu-mesa mesa-dev xorg-libXt-dev xorg-libXext-dev xorg-libXrender-dev xorg-libX11-dev"
10 SOURCE="SDL"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.libsdl.org/"
13 WGET_URL="http://www.libsdl.org/release/$TARBALL"
14 COOK_OPT="!libtool"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -Np1 -i $stuff/sdl-$VERSION-joystick-crash.diff
21 patch -Np1 -i $stuff/sdl-$VERSION-fix-mouse-clicking.patch
22 patch -Np1 -i $stuff/sdl-$VERSION-fix-disappearing-cursor.patch
23 ./configure $CONFIGURE_ARGS && make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }
33 post_install()
34 {
35 [ -d "/var/lib/tazpkg/installed/libSDL" ] && rm -rf /var/lib/tazpkg/installed/libSDL
36 }