wok-current diff physfs/receipt @ rev 15112

Add some -Wno-error=unused-but-set-variable
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 21:14:37 2013 +0000 (2013-08-14)
parents 880be3c81313
children 51a1ebbda768
line diff
     1.1 --- a/physfs/receipt	Mon Feb 21 02:01:47 2011 +0000
     1.2 +++ b/physfs/receipt	Wed Aug 14 21:14:37 2013 +0000
     1.3 @@ -8,24 +8,26 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://icculus.org/physfs/"
     1.6  WGET_URL="http://icculus.org/physfs/downloads/$TARBALL"
     1.7 +
     1.8  BUILD_DEPENDS="cmake wget"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13  	cd $src
    1.14 +	export CFLAGS="-Wno-error=unused-but-set-variable"
    1.15  	cmake $src &&
    1.16  	cmake -DCMAKE_INSTALL_PREFIX=/usr \
    1.17  	-DPHYSFS_BUILD_SHARED=ON \
    1.18  	-DPHYSFS_BUILD_TEST=OFF \
    1.19  	-DPHYSFS_BUILD_WX_TEST=OFF \
    1.20  	-DPHYSFS_INTERNAL_ZLIB=OFF .	&&
    1.21 -	make DESTDIR=$PWD/_pkg install
    1.22 +	make DESTDIR=$DESTDIR install
    1.23  }
    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
    1.29 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.30 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.31  }