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

Add ofono.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 17 20:15:21 2011 +0000 (2011-03-17)
parents bb74eecd3d4c
children 8c08820e8dfb
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"
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"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -Np1 -i ../stuff/$PACKAGE-$VERSION-joystick-crash.diff
20 patch -Np1 -i ../stuff/$PACKAGE-$VERSION-fix-mouse-clicking.patch
21 patch -Np1 -i ../stuff/$PACKAGE-$VERSION-fix-disappearing-cursor.patch
22 ./configure && make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 }
32 post_install()
33 {
34 [ -d "/var/lib/tazpkg/installed/libSDL" ] && rm -rf /var/lib/tazpkg/installed/libSDL
35 }