wok view libsdl/receipt @ rev 9323
Add gtkaml (XML markup to make gtk+ gui - may replace our gtkdialog code in time)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Mar 18 13:06:34 2011 +0100 (2011-03-18) |
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 }