wok diff libsdl2/receipt @ rev 22544

Add gnubik (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 03 17:47:24 2020 +0100 (2020-01-03)
parents 5b063a7e40ae
children 34efa48682ba
line diff
     1.1 --- a/libsdl2/receipt	Fri Nov 07 10:39:54 2014 +0100
     1.2 +++ b/libsdl2/receipt	Fri Jan 03 17:47:24 2020 +0100
     1.3 @@ -1,24 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libsdl2"
     1.7 -VERSION="2.0.3"
     1.8 +VERSION="2.0.9"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="a cross-platform interactive media development library"
    1.11 +SHORT_DESC="A cross-platform interactive media development library."
    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 -DEPENDS="alsa-lib mesa dbus"
    1.21 -BUILD_DEPENDS="alsa-lib-dev mesa-dev mesa-wayland-dev pulseaudio-dev dbus-dev"
    1.22 +DEPENDS="alsa-lib dbus mesa"
    1.23 +BUILD_DEPENDS="alsa-lib-dev dbus-dev mesa-dev mesa-wayland-dev pulseaudio-dev"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cd $src
    1.29 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.30 -	make &&
    1.31 +	./configure		\
    1.32 +		--prefix=/usr	\
    1.33 +		$CONFIGURE_ARGS &&
    1.34 +	make -j 1 &&
    1.35  	make DESTDIR=$DESTDIR install
    1.36  }
    1.37  
    1.38 @@ -26,6 +28,7 @@
    1.39  genpkg_rules()
    1.40  {
    1.41  	mkdir -p $fs/usr/lib
    1.42 -	cp -a $install/usr/lib/*so* $fs/usr/lib
    1.43 -	cp -a $install/usr/bin $fs/usr
    1.44 +
    1.45 +	cp -a $install/usr/lib/*so*	$fs/usr/lib
    1.46 +	cp -a $install/usr/bin		$fs/usr
    1.47  }