wok view libsdl/receipt @ rev 14718
lib[s-z]*: add LICENSE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 11 11:57:36 2013 +0200 (2013-06-11) |
parents | 04f1f2b56a0f |
children | e9a384038707 |
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 ./configure $CONFIGURE_ARGS && make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }
35 post_install()
36 {
37 [ -d "/var/lib/tazpkg/installed/libSDL" ] && rm -rf /var/lib/tazpkg/installed/libSDL
38 }