wok-4.x view libsdl/receipt @ rev 11308

Fix: remove some unneeded xfburn depends
author Alexander Medvedev <devl547@gmail.com>
date Sun Nov 13 11:09:54 2011 +0000 (2011-11-13)
parents 8c08820e8dfb
children b7319995b37e
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 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 && 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 }