wok-6.x annotate libsdl/receipt @ rev 21475
updated mozplugger (1.14.3 -> 2.1.6)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 01 07:45:28 2019 +0100 (2019-05-01) |
parents | 1067bb7f1e24 |
children | ede1d184d5c5 |
rev | line source |
---|---|
pankso@3424 | 1 # SliTaz package receipt. |
pankso@3424 | 2 |
pankso@3424 | 3 PACKAGE="libsdl" |
Hans-G?nter@21289 | 4 VERSION="1.2.15" |
pankso@3424 | 5 CATEGORY="x-window" |
Hans-G?nter@21289 | 6 SHORT_DESC="Simple DirectMedia Layer." |
pankso@3424 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14718 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@21289 | 9 WEB_SITE="http://www.libsdl.org/" |
Hans-G?nter@21289 | 10 |
pankso@3424 | 11 SOURCE="SDL" |
pankso@3424 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@3424 | 13 WGET_URL="http://www.libsdl.org/release/$TARBALL" |
Hans-G?nter@21289 | 14 |
Hans-G?nter@21289 | 15 DEPENDS="xorg-libX11 xorg-libXext xorg-libXrender" |
Hans-G?nter@21289 | 16 BUILD_DEPENDS="alsa-lib-dev libglu-mesa mesa-dev xorg-libX11-dev xorg-libXext-dev \ |
Hans-G?nter@21289 | 17 xorg-libXrender-dev xorg-libXt-dev" |
Hans-G?nter@21289 | 18 |
pankso@16084 | 19 HOST_ARCH="i486 arm" |
pankso@3424 | 20 |
pankso@16085 | 21 # Handle cross compilation. |
pankso@16086 | 22 case "$ARCH" in |
Hans-G?nter@21289 | 23 arm) BUILD_DEPENDS="xorg-libX11-devxorg-libXext-dev xorg-libXrender-dev \ |
Hans-G?nter@21289 | 24 xorg-libXt-dev" ;; |
pankso@16085 | 25 esac |
pascal@14718 | 26 |
pankso@3424 | 27 # Rules to configure and make the package. |
pankso@3424 | 28 compile_rules() |
pankso@3424 | 29 { |
Hans-G?nter@21289 | 30 # patch -Np1 -i $stuff/sdl-$VERSION-joystick-crash.diff |
Hans-G?nter@21289 | 31 # patch -Np1 -i $stuff/sdl-$VERSION-fix-mouse-clicking.patch |
Hans-G?nter@21289 | 32 # patch -Np1 -i $stuff/sdl-$VERSION-fix-disappearing-cursor.patch |
Hans-G?nter@21289 | 33 # patch -Np1 -i $stuff/sdl-1.2.14-add-XGetRequest-symbol.patch |
Hans-G?nter@21289 | 34 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21289 | 35 make -j 1 && |
Hans-G?nter@21289 | 36 make install |
pankso@3424 | 37 } |
pankso@3424 | 38 |
pankso@3424 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3424 | 40 genpkg_rules() |
pankso@3424 | 41 { |
pankso@3424 | 42 mkdir -p $fs/usr/lib |
pascal@14718 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@3424 | 44 } |
pankso@3424 | 45 |
pankso@3424 | 46 post_install() |
pankso@3424 | 47 { |
pascal@18707 | 48 [ ! -d "$1$INSTALLED/libSDL" ] || rm -rf "$1$INSTALLED/libSDL" |
pankso@3424 | 49 } |