wok-6.x rev 21293

updated libsdl2 and libsdl2-dev (2.0.3 -> 2.0.9)
author Hans-G?nter Theisgen
date Tue Apr 16 17:58:43 2019 +0100 (2019-04-16)
parents 724b6c79f813
children 0f34431339cc
files libsdl2-dev/receipt libsdl2/receipt
line diff
     1.1 --- a/libsdl2-dev/receipt	Tue Apr 16 17:40:27 2019 +0100
     1.2 +++ b/libsdl2-dev/receipt	Tue Apr 16 17:58:43 2019 +0100
     1.3 @@ -1,25 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libsdl2-dev"
     1.7 -VERSION="2.0.3"
     1.8 +VERSION="2.0.9"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="a cross-platform interactive media development library - dev files"
    1.11 +SHORT_DESC="A cross-platform interactive media development library - development files."
    1.12  MAINTAINER="tcg.thegamer@gmail.com"
    1.13  LICENSE="zlib/libpng"
    1.14 +WEB_SITE="http://libsdl.org"
    1.15 +
    1.16  TARBALL="SDL2-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://libsdl.org"
    1.18  WGET_URL="${WEB_SITE}/release/${TARBALL}"
    1.19  
    1.20  WANTED="libsdl2"
    1.21 -
    1.22  DEPENDS="libsdl2 pkg-config"
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27  	mkdir -p $fs/usr/lib
    1.28 -	cp -a $install/usr/share $fs/usr
    1.29 -	cp -a $install/usr/include $fs/usr
    1.30 -	cp -a $install/usr/lib/*a $fs/usr/lib
    1.31 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.32 +
    1.33 +	cp -a $install/usr/share		$fs/usr
    1.34 +	cp -a $install/usr/include		$fs/usr
    1.35 +	cp -a $install/usr/lib/*a		$fs/usr/lib
    1.36 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.37  }
     2.1 --- a/libsdl2/receipt	Tue Apr 16 17:40:27 2019 +0100
     2.2 +++ b/libsdl2/receipt	Tue Apr 16 17:58:43 2019 +0100
     2.3 @@ -1,24 +1,26 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libsdl2"
     2.7 -VERSION="2.0.3"
     2.8 +VERSION="2.0.9"
     2.9  CATEGORY="x-window"
    2.10 -SHORT_DESC="a cross-platform interactive media development library"
    2.11 +SHORT_DESC="A cross-platform interactive media development library."
    2.12  MAINTAINER="tcg.thegamer@gmail.com"
    2.13  LICENSE="zlib/libpng"
    2.14 +WEB_SITE="http://libsdl.org"
    2.15 +
    2.16  TARBALL="SDL2-$VERSION.tar.gz"
    2.17 -WEB_SITE="http://libsdl.org"
    2.18  WGET_URL="${WEB_SITE}/release/${TARBALL}"
    2.19  
    2.20 -DEPENDS="alsa-lib mesa dbus"
    2.21 -BUILD_DEPENDS="alsa-lib-dev mesa-dev mesa-wayland-dev pulseaudio-dev dbus-dev"
    2.22 +DEPENDS="alsa-lib dbus mesa"
    2.23 +BUILD_DEPENDS="alsa-lib-dev dbus-dev mesa-dev mesa-wayland-dev pulseaudio-dev"
    2.24  
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27  {
    2.28 -	cd $src
    2.29 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
    2.30 -	make &&
    2.31 +	./configure		\
    2.32 +		--prefix=/usr	\
    2.33 +		$CONFIGURE_ARGS &&
    2.34 +	make -j 1 &&
    2.35  	make DESTDIR=$DESTDIR install
    2.36  }
    2.37  
    2.38 @@ -26,6 +28,7 @@
    2.39  genpkg_rules()
    2.40  {
    2.41  	mkdir -p $fs/usr/lib
    2.42 -	cp -a $install/usr/lib/*so* $fs/usr/lib
    2.43 -	cp -a $install/usr/bin $fs/usr
    2.44 +
    2.45 +	cp -a $install/usr/lib/*so*	$fs/usr/lib
    2.46 +	cp -a $install/usr/bin		$fs/usr
    2.47  }