wok-current diff libparserutils/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 | 96db5f7822ae |
children | 8d6f480bf664 |
line diff
1.1 --- a/libparserutils/receipt Sun Feb 13 22:57:56 2011 +0100 1.2 +++ b/libparserutils/receipt Wed Aug 14 21:14:37 2013 +0000 1.3 @@ -6,20 +6,22 @@ 1.4 SHORT_DESC="Various pieces of functionality that are useful for parsers." 1.5 MAINTAINER="pankso@slitaz.org" 1.6 WEB_SITE="http://www.netsurf-browser.org/projects/libparserutils/" 1.7 -BUILD_DEPENDS="subversion" 1.8 WGET_URL="subversion|svn://svn.netsurf-browser.org/trunk/libparserutils" 1.9 BRANCH="$VERSION" 1.10 1.11 +BUILD_DEPENDS="subversion" 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 { 1.16 cd $src 1.17 - make install DESTDIR=$PWD/_pkg PREFIX=/usr && 1.18 - make install COMPONENT_TYPE=lib-shared DESTDIR=$PWD/_pkg PREFIX=/usr 1.19 + export CFLAGS="-Wno-error=unused-but-set-variable" 1.20 + make install DESTDIR=$DESTDIR PREFIX=/usr && 1.21 + make install COMPONENT_TYPE=lib-shared DESTDIR=$DESTDIR PREFIX=/usr 1.22 } 1.23 # Rules to gen a SliTaz package suitable for Tazpkg. 1.24 genpkg_rules() 1.25 { 1.26 mkdir -p $fs/usr/lib 1.27 - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.28 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.29 }