wok 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 5c4ed10b36e4
children 4f0e0b25aa94
files libcss/receipt libparserutils/receipt libpri/receipt mdadm/receipt physfs/receipt
line diff
     1.1 --- a/libcss/receipt	Wed Aug 14 21:01:32 2013 +0000
     1.2 +++ b/libcss/receipt	Wed Aug 14 21:14:37 2013 +0000
     1.3 @@ -5,18 +5,20 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="CSS Parser"
     1.6  MAINTAINER="erjo@slitaz.org"
     1.7 +WEB_SITE="http://www.netsurf-browser.org/projects/libcss/"
     1.8 +WGET_URL="http://www.netsurf-browser.org/projects/releases/$TARBALL"
     1.9 +TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    1.10 +
    1.11  DEPENDS="libparserutils libwapcaplet"
    1.12  BUILD_DEPENDS="libwapcaplet-dev libparserutils-dev"
    1.13 -TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    1.14 -WEB_SITE="http://www.netsurf-browser.org/projects/libcss/"
    1.15 -WGET_URL="http://www.netsurf-browser.org/projects/releases/$TARBALL"
    1.16  
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20  	cd $src
    1.21 +	export CFLAGS="-Wno-error=unused-but-set-variable"
    1.22  	COMPONENT_TYPE=lib-shared make \
    1.23 -		&& PREFIX=/usr make DESTDIR=$PWD/_pkg install
    1.24 +		&& PREFIX=/usr make DESTDIR=$DESTDIR install
    1.25  }
    1.26  
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/libparserutils/receipt	Wed Aug 14 21:01:32 2013 +0000
     2.2 +++ b/libparserutils/receipt	Wed Aug 14 21:14:37 2013 +0000
     2.3 @@ -6,20 +6,22 @@
     2.4  SHORT_DESC="Various pieces of functionality that are useful for parsers."
     2.5  MAINTAINER="pankso@slitaz.org"
     2.6  WEB_SITE="http://www.netsurf-browser.org/projects/libparserutils/"
     2.7 -BUILD_DEPENDS="subversion"
     2.8  WGET_URL="subversion|svn://svn.netsurf-browser.org/trunk/libparserutils"
     2.9  BRANCH="$VERSION"
    2.10  
    2.11 +BUILD_DEPENDS="subversion"
    2.12 +
    2.13  # Rules to configure and make the package.
    2.14  compile_rules()
    2.15  {
    2.16  	cd $src
    2.17 -	make install DESTDIR=$PWD/_pkg PREFIX=/usr &&
    2.18 -	make install COMPONENT_TYPE=lib-shared DESTDIR=$PWD/_pkg PREFIX=/usr 
    2.19 +	export CFLAGS="-Wno-error=unused-but-set-variable"
    2.20 +	make install DESTDIR=$DESTDIR PREFIX=/usr &&
    2.21 +	make install COMPONENT_TYPE=lib-shared DESTDIR=$DESTDIR PREFIX=/usr 
    2.22  }
    2.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.24  genpkg_rules()
    2.25  {
    2.26  	mkdir -p $fs/usr/lib
    2.27 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.28 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.29  }
     3.1 --- a/libpri/receipt	Wed Aug 14 21:01:32 2013 +0000
     3.2 +++ b/libpri/receipt	Wed Aug 14 21:14:37 2013 +0000
     3.3 @@ -13,6 +13,7 @@
     3.4  compile_rules()
     3.5  {
     3.6  	cd $src
     3.7 +	export CFLAGS="-Wno-error=unused-but-set-variable"
     3.8  	make
     3.9  }
    3.10  
     4.1 --- a/mdadm/receipt	Wed Aug 14 21:01:32 2013 +0000
     4.2 +++ b/mdadm/receipt	Wed Aug 14 21:14:37 2013 +0000
     4.3 @@ -5,15 +5,17 @@
     4.4  CATEGORY="system-tools"
     4.5  SHORT_DESC="Software RAID tools"
     4.6  MAINTAINER="b1+slitaz@nagel.org"
     4.7 -DEPENDS=""
     4.8  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     4.9  WEB_SITE="http://www.us.kernel.org/pub/linux/utils/raid/mdadm/ANNOUNCE"
    4.10  WGET_URL="http://www.us.kernel.org/pub/linux/utils/raid/mdadm/$TARBALL"
    4.11  
    4.12 +DEPENDS=""
    4.13 +
    4.14  # Rules to configure and make the package.
    4.15  compile_rules()
    4.16  {
    4.17  	cd $src
    4.18 +	export CFLAGS="-Wno-error=unused-but-set-variable"
    4.19  	make mdadm
    4.20  }
    4.21  
     5.1 --- a/physfs/receipt	Wed Aug 14 21:01:32 2013 +0000
     5.2 +++ b/physfs/receipt	Wed Aug 14 21:14:37 2013 +0000
     5.3 @@ -8,24 +8,26 @@
     5.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     5.5  WEB_SITE="http://icculus.org/physfs/"
     5.6  WGET_URL="http://icculus.org/physfs/downloads/$TARBALL"
     5.7 +
     5.8  BUILD_DEPENDS="cmake wget"
     5.9  
    5.10  # Rules to configure and make the package.
    5.11  compile_rules()
    5.12  {
    5.13  	cd $src
    5.14 +	export CFLAGS="-Wno-error=unused-but-set-variable"
    5.15  	cmake $src &&
    5.16  	cmake -DCMAKE_INSTALL_PREFIX=/usr \
    5.17  	-DPHYSFS_BUILD_SHARED=ON \
    5.18  	-DPHYSFS_BUILD_TEST=OFF \
    5.19  	-DPHYSFS_BUILD_WX_TEST=OFF \
    5.20  	-DPHYSFS_INTERNAL_ZLIB=OFF .	&&
    5.21 -	make DESTDIR=$PWD/_pkg install
    5.22 +	make DESTDIR=$DESTDIR install
    5.23  }
    5.24  
    5.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.26  genpkg_rules()
    5.27  {
    5.28  	mkdir -p $fs/usr/lib
    5.29 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    5.30 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    5.31  }