wok annotate libsdl/receipt @ rev 8835
Add libshout.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Feb 24 10:30:43 2011 +0000 (2011-02-24) |
parents | 7bbc500bb8d3 |
children | cf8b4889e6ab |
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" |
slaxemulator@8492 | 9 BUILD_DEPENDS="xorg-libXext-dev xorg-libXrender-dev xorg-libX11-dev libglu-mesa xorg-xproto xorg-xextproto " |
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" |
pankso@3424 | 14 |
pankso@3424 | 15 # Rules to configure and make the package. |
pankso@3424 | 16 compile_rules() |
pankso@3424 | 17 { |
pankso@3424 | 18 cd $src |
slaxemulator@8513 | 19 patch -Np1 -i ../stuff/$PACKAGE-$VERSION-joystick-crash.diff |
slaxemulator@8513 | 20 patch -Np1 -i ../stuff/$PACKAGE-$VERSION-fix-mouse-clicking.patch |
slaxemulator@8513 | 21 patch -Np1 -i ../stuff/$PACKAGE-$VERSION-fix-disappearing-cursor.patch |
pankso@3424 | 22 ./configure \ |
pankso@3424 | 23 --prefix=/usr \ |
pankso@3424 | 24 --infodir=/usr/share/info \ |
pankso@3424 | 25 --mandir=/usr/share/man \ |
pankso@3424 | 26 $CONFIGURE_ARGS && |
pankso@3424 | 27 make && |
pankso@3424 | 28 make DESTDIR=$PWD/_pkg install |
pankso@3424 | 29 } |
pankso@3424 | 30 |
pankso@3424 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3424 | 32 genpkg_rules() |
pankso@3424 | 33 { |
pankso@3424 | 34 mkdir -p $fs/usr/lib |
pankso@3424 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@3424 | 36 } |
pankso@3424 | 37 |
pankso@3424 | 38 post_install() |
pankso@3424 | 39 { |
pankso@3426 | 40 [ -d "/var/lib/tazpkg/installed/libSDL" ] && rm -rf /var/lib/tazpkg/installed/libSDL |
pankso@3424 | 41 } |