wok view libsdl/receipt @ rev 15864

audacious-plugins: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 30 09:20:43 2014 +0000 (2014-01-30)
parents 6eff489aa802
children 53082fab5f1e
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 LICENSE="LGPL2.1"
9 SOURCE="SDL"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.libsdl.org/"
12 WGET_URL="http://www.libsdl.org/release/$TARBALL"
13 COOK_OPT="!libtool"
15 DEPENDS="xorg-libXext xorg-libXrender xorg-libX11"
16 BUILD_DEPENDS="libglu-mesa mesa-dev xorg-libXt-dev xorg-libXext-dev xorg-libXrender-dev xorg-libX11-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 patch -Np1 -i $stuff/sdl-$VERSION-joystick-crash.diff
23 patch -Np1 -i $stuff/sdl-$VERSION-fix-mouse-clicking.patch
24 patch -Np1 -i $stuff/sdl-$VERSION-fix-disappearing-cursor.patch
25 patch -Np1 -i $stuff/sdl-1.2.14-add-XGetRequest-symbol.patch
26 ./configure $CONFIGURE_ARGS && make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }
36 post_install()
37 {
38 [ -d "/var/lib/tazpkg/installed/libSDL" ] && rm -rf /var/lib/tazpkg/installed/libSDL
39 }