wok-4.x annotate libsdl/receipt @ rev 11214

Add from wok-undigest: rlwrap pamtester php-auth-pam python-xlib qoauth gnome-desktop gnome-desktop-dev gnome-ppp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 03 17:16:52 2011 +0100 (2011-11-03)
parents 8c08820e8dfb
children b7319995b37e
rev   line source
pankso@3424 1 # SliTaz package receipt.
pankso@3424 2
pankso@3424 3 PACKAGE="libsdl"
slaxemulator@6195 4 VERSION="1.2.14"
pankso@3424 5 CATEGORY="x-window"
pankso@3424 6 SHORT_DESC="Simple DirectMedia Layer (used by Qemu)."
pankso@3424 7 MAINTAINER="pankso@slitaz.org"
slaxemulator@8489 8 DEPENDS="xorg-libXext xorg-libXrender xorg-libX11"
erjo@10681 9 BUILD_DEPENDS="libglu-mesa xorg-libXt-dev xorg-libXext-dev xorg-libXrender-dev xorg-libX11-dev"
pankso@3424 10 SOURCE="SDL"
pankso@3424 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@3424 12 WEB_SITE="http://www.libsdl.org/"
pankso@3424 13 WGET_URL="http://www.libsdl.org/release/$TARBALL"
slaxemulator@9408 14 COOK_OPT="!libtool"
pankso@3424 15
pankso@3424 16 # Rules to configure and make the package.
pankso@3424 17 compile_rules()
pankso@3424 18 {
pankso@3424 19 cd $src
slaxemulator@9408 20 patch -Np1 -i $stuff/sdl-$VERSION-joystick-crash.diff
slaxemulator@9408 21 patch -Np1 -i $stuff/sdl-$VERSION-fix-mouse-clicking.patch
slaxemulator@9408 22 patch -Np1 -i $stuff/sdl-$VERSION-fix-disappearing-cursor.patch
gokhlayeh@8921 23 ./configure && make && make install
pankso@3424 24 }
pankso@3424 25
pankso@3424 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3424 27 genpkg_rules()
pankso@3424 28 {
pankso@3424 29 mkdir -p $fs/usr/lib
pankso@3424 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@3424 31 }
pankso@3424 32
pankso@3424 33 post_install()
pankso@3424 34 {
pankso@3426 35 [ -d "/var/lib/tazpkg/installed/libSDL" ] && rm -rf /var/lib/tazpkg/installed/libSDL
pankso@3424 36 }