wok-current rev 21289

updated libsdl and libsdl-dev (1.2.14 -> 1.2.15)
author Hans-G?nter Theisgen
date Tue Apr 16 17:25:56 2019 +0100 (2019-04-16)
parents 293dbf206948
children 087c88e4ce10
files libsdl-dev/receipt libsdl/receipt
line diff
     1.1 --- a/libsdl-dev/receipt	Tue Apr 16 16:33:43 2019 +0100
     1.2 +++ b/libsdl-dev/receipt	Tue Apr 16 17:25:56 2019 +0100
     1.3 @@ -1,26 +1,29 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libsdl-dev"
     1.7 -VERSION="1.2.14"
     1.8 +VERSION="1.2.15"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Simple DirectMedia Layer devel files."
    1.11 +SHORT_DESC="Simple DirectMedia Layer - development files."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="LGPL2.1"
    1.14 +WEB_SITE="http://www.libsdl.org/"
    1.15 +
    1.16  SOURCE="SDL"
    1.17  WANTED="libsdl"
    1.18 -WEB_SITE="http://www.libsdl.org/"
    1.19 -HOST_ARCH="i486 arm"
    1.20  
    1.21  DEPENDS="xorg-libXext-dev xorg-libX11-dev xorg-libXrender-dev libsdl pkg-config"
    1.22  
    1.23 +HOST_ARCH="i486 arm"
    1.24 +
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.26  genpkg_rules()
    1.27  {
    1.28 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.29 -	cp -a $install/usr/bin $fs/usr
    1.30 -	cp -a $install/usr/include $fs/usr
    1.31 -	cp -a $install/usr/lib/*.a $fs/usr/lib
    1.32 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.33 -	cp -a $install/usr/share/aclocal $fs/usr/share
    1.34 +	mkdir -p $fs/usr/lib
    1.35 +	mkdir -p $fs/usr/share
    1.36 +
    1.37 +	cp -a $install/usr/bin			$fs/usr
    1.38 +	cp -a $install/usr/include		$fs/usr
    1.39 +	cp -a $install/usr/lib/*.a		$fs/usr/lib
    1.40 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.41 +	cp -a $install/usr/share/aclocal	$fs/usr/share
    1.42  }
    1.43 -
     2.1 --- a/libsdl/receipt	Tue Apr 16 16:33:43 2019 +0100
     2.2 +++ b/libsdl/receipt	Tue Apr 16 17:25:56 2019 +0100
     2.3 @@ -1,35 +1,39 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libsdl"
     2.7 -VERSION="1.2.14"
     2.8 +VERSION="1.2.15"
     2.9  CATEGORY="x-window"
    2.10 -SHORT_DESC="Simple DirectMedia Layer"
    2.11 +SHORT_DESC="Simple DirectMedia Layer."
    2.12  MAINTAINER="pankso@slitaz.org"
    2.13  LICENSE="LGPL2.1"
    2.14 +WEB_SITE="http://www.libsdl.org/"
    2.15 +
    2.16  SOURCE="SDL"
    2.17  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.18 -WEB_SITE="http://www.libsdl.org/"
    2.19  WGET_URL="http://www.libsdl.org/release/$TARBALL"
    2.20 +
    2.21 +DEPENDS="xorg-libX11 xorg-libXext xorg-libXrender"
    2.22 +BUILD_DEPENDS="alsa-lib-dev libglu-mesa mesa-dev xorg-libX11-dev xorg-libXext-dev \
    2.23 +	xorg-libXrender-dev xorg-libXt-dev"
    2.24 +
    2.25  HOST_ARCH="i486 arm"
    2.26  
    2.27 -DEPENDS="xorg-libXext xorg-libXrender xorg-libX11"
    2.28 -BUILD_DEPENDS="libglu-mesa mesa-dev xorg-libXt-dev xorg-libXext-dev \
    2.29 -xorg-libXrender-dev xorg-libX11-dev alsa-lib-dev"
    2.30 -
    2.31  # Handle cross compilation.
    2.32  case "$ARCH" in
    2.33 -	arm) BUILD_DEPENDS="xorg-libXt-dev xorg-libXext-dev xorg-libXrender-dev \
    2.34 -xorg-libX11-dev" ;;
    2.35 +	arm) BUILD_DEPENDS="xorg-libX11-devxorg-libXext-dev xorg-libXrender-dev \
    2.36 +		xorg-libXt-dev" ;;
    2.37  esac
    2.38  
    2.39  # Rules to configure and make the package.
    2.40  compile_rules()
    2.41  {
    2.42 -	patch -Np1 -i $stuff/sdl-$VERSION-joystick-crash.diff
    2.43 -	patch -Np1 -i $stuff/sdl-$VERSION-fix-mouse-clicking.patch
    2.44 -	patch -Np1 -i $stuff/sdl-$VERSION-fix-disappearing-cursor.patch
    2.45 -	patch -Np1 -i $stuff/sdl-1.2.14-add-XGetRequest-symbol.patch
    2.46 -	./configure $CONFIGURE_ARGS && make && make install
    2.47 +#	patch -Np1 -i $stuff/sdl-$VERSION-joystick-crash.diff
    2.48 +#	patch -Np1 -i $stuff/sdl-$VERSION-fix-mouse-clicking.patch
    2.49 +#	patch -Np1 -i $stuff/sdl-$VERSION-fix-disappearing-cursor.patch
    2.50 +#	patch -Np1 -i $stuff/sdl-1.2.14-add-XGetRequest-symbol.patch
    2.51 +	./configure $CONFIGURE_ARGS &&
    2.52 +	make -j 1 &&
    2.53 +	make install
    2.54  }
    2.55  
    2.56  # Rules to gen a SliTaz package suitable for Tazpkg.