wok rev 24823

updated libsdl2 and libsdl2-dev (2.0.12 -> 2.0.20)
author Hans-G?nter Theisgen
date Wed Mar 23 16:41:04 2022 +0100 (2022-03-23)
parents 99e24ccafc52
children c3b5dafdd798
files libsdl2-dev/receipt libsdl2/description.txt libsdl2/receipt
line diff
     1.1 --- a/libsdl2-dev/receipt	Wed Mar 23 11:26:00 2022 +0100
     1.2 +++ b/libsdl2-dev/receipt	Wed Mar 23 16:41:04 2022 +0100
     1.3 @@ -1,12 +1,12 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libsdl2-dev"
     1.7 -VERSION="2.0.12"
     1.8 +VERSION="2.0.20"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="A cross-platform interactive media development library - development files."
    1.11  MAINTAINER="tcg.thegamer@gmail.com"
    1.12  LICENSE="zlib/libpng"
    1.13 -WEB_SITE="http://libsdl.org"
    1.14 +WEB_SITE="https://libsdl.org/"
    1.15  
    1.16  DEPENDS="libsdl2 pkg-config"
    1.17  WANTED="libsdl2"
    1.18 @@ -14,10 +14,6 @@
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22 -	mkdir -p $fs/usr/lib
    1.23 -
    1.24 -	cp -a $install/usr/share		$fs/usr
    1.25 -	cp -a $install/usr/include		$fs/usr
    1.26 -	cp -a $install/usr/lib/*a		$fs/usr/lib
    1.27 -	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.28 +	get_dev_files
    1.29 +	cook_copy_folders	aclocal
    1.30  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libsdl2/description.txt	Wed Mar 23 16:41:04 2022 +0100
     2.3 @@ -0,0 +1,5 @@
     2.4 +Simple Direct Media Layer is a cross-platform development library
     2.5 +designed to provide low level access to audio, keyboard, mouse,
     2.6 +joystick, and graphics hardware via OpenGL and Direct3D.
     2.7 +It is used by video playback software, emulators, and popular games
     2.8 +including Valve's award winning catalog and many Humble Bundle games.
     3.1 --- a/libsdl2/receipt	Wed Mar 23 11:26:00 2022 +0100
     3.2 +++ b/libsdl2/receipt	Wed Mar 23 16:41:04 2022 +0100
     3.3 @@ -1,15 +1,16 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="libsdl2"
     3.7 -VERSION="2.0.12"
     3.8 +VERSION="2.0.20"
     3.9  CATEGORY="x-window"
    3.10  SHORT_DESC="A cross-platform interactive media development library."
    3.11  MAINTAINER="tcg.thegamer@gmail.com"
    3.12  LICENSE="zlib/libpng"
    3.13 -WEB_SITE="http://libsdl.org"
    3.14 +WEB_SITE="https://libsdl.org/"
    3.15 +REPOLOGY="sdl2"
    3.16  
    3.17  TARBALL="SDL2-$VERSION.tar.gz"
    3.18 -WGET_URL="${WEB_SITE}/release/${TARBALL}"
    3.19 +WGET_URL="${WEB_SITE}release/${TARBALL}"
    3.20  
    3.21  DEPENDS="alsa-lib dbus mesa"
    3.22  BUILD_DEPENDS="alsa-lib-dev dbus-dev mesa-dev mesa-wayland-dev pulseaudio-dev"
    3.23 @@ -27,15 +28,13 @@
    3.24  	./configure		\
    3.25  		--prefix=/usr	\
    3.26  		$CONFIGURE_ARGS &&
    3.27 -	make -j 1 &&
    3.28 -	make DESTDIR=$DESTDIR install
    3.29 +	make &&
    3.30 +	make install DESTDIR=$DESTDIR
    3.31  }
    3.32  
    3.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.34  genpkg_rules()
    3.35  {
    3.36 -	mkdir -p $fs/usr/lib
    3.37 -
    3.38 -	cp -a $install/usr/lib/*so*	$fs/usr/lib
    3.39 -	cp -a $install/usr/bin		$fs/usr
    3.40 +	cook_copy_folders	bin
    3.41 +	cook_copy_files		*.so*
    3.42  }