wok-current rev 21681

updated physfs and physfs-dev (2.0.2 -> 3.0.1)
author Hans-G?nter Theisgen
date Sun Jun 02 14:55:44 2019 +0100 (2019-06-02)
parents 5a1b6ca89a1c
children a39023f7132f
files physfs-dev/receipt physfs/receipt
line diff
     1.1 --- a/physfs-dev/receipt	Sun Jun 02 14:42:22 2019 +0100
     1.2 +++ b/physfs-dev/receipt	Sun Jun 02 14:55:44 2019 +0100
     1.3 @@ -1,18 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="physfs-dev"
     1.7 -VERSION="2.0.2"
     1.8 +VERSION="3.0.1"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Abstraction layer for filesystem and archive access"
    1.11 +SHORT_DESC="Abstraction layer for filesystem and archive access - development files."
    1.12  MAINTAINER="devl547@gmail.com"
    1.13  LICENSE="LGPL"
    1.14 +WEB_SITE="https://icculus.org/physfs/"
    1.15 +
    1.16  WANTED="physfs"
    1.17 -WEB_SITE="http://icculus.org/physfs/"
    1.18  
    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 -	cp -a $install/usr/include $fs/usr
    1.24 -	cp $install/usr/lib/*.a $fs/usr/lib
    1.25 +
    1.26 +	cp -a $install/usr/include	$fs/usr
    1.27 +	cp $install/usr/lib/*.a		$fs/usr/lib
    1.28  }
     2.1 --- a/physfs/receipt	Sun Jun 02 14:42:22 2019 +0100
     2.2 +++ b/physfs/receipt	Sun Jun 02 14:55:44 2019 +0100
     2.3 @@ -1,28 +1,28 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="physfs"
     2.7 -VERSION="2.0.2"
     2.8 +VERSION="3.0.1"
     2.9  CATEGORY="development"
    2.10 -SHORT_DESC="Abstraction layer for filesystem and archive access"
    2.11 +SHORT_DESC="Abstraction layer for filesystem and archive access."
    2.12  MAINTAINER="devl547@gmail.com"
    2.13  LICENSE="LGPL"
    2.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.15 -WEB_SITE="http://icculus.org/physfs/"
    2.16 -WGET_URL="http://icculus.org/physfs/downloads/$TARBALL"
    2.17 +WEB_SITE="https://icculus.org/physfs/"
    2.18  
    2.19 -BUILD_DEPENDS="cmake wget"
    2.20 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.21 +WGET_URL="${WEB_SITE}downloads/$TARBALL"
    2.22 +
    2.23 +BUILD_DEPENDS="cmake"
    2.24  
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27  {
    2.28 -	cd $src
    2.29  	export CFLAGS="-Wno-error=unused-but-set-variable"
    2.30 +
    2.31  	cmake $src &&
    2.32 -	cmake -DCMAKE_INSTALL_PREFIX=/usr \
    2.33 -	-DPHYSFS_BUILD_SHARED=ON \
    2.34 -	-DPHYSFS_BUILD_TEST=OFF \
    2.35 -	-DPHYSFS_BUILD_WX_TEST=OFF \
    2.36 -	-DPHYSFS_INTERNAL_ZLIB=OFF .	&&
    2.37 +	cmake	.				\
    2.38 +		-DCMAKE_INSTALL_PREFIX=/usr	\
    2.39 +		-DPHYSFS_BUILD_SHARED=ON	\
    2.40 +		-DPHYSFS_BUILD_TEST=OFF &&
    2.41  	make DESTDIR=$DESTDIR install
    2.42  }
    2.43