wok-6.x annotate 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 |
rev | line source |
---|---|
pankso@2824 | 1 # SliTaz package receipt. |
pankso@2824 | 2 |
pankso@2824 | 3 PACKAGE="libparserutils" |
pankso@2824 | 4 VERSION="7369" |
pankso@2824 | 5 CATEGORY="system-tools" |
pankso@2824 | 6 SHORT_DESC="Various pieces of functionality that are useful for parsers." |
pankso@2824 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2824 | 8 WEB_SITE="http://www.netsurf-browser.org/projects/libparserutils/" |
gokhlayeh@8559 | 9 WGET_URL="subversion|svn://svn.netsurf-browser.org/trunk/libparserutils" |
gokhlayeh@8559 | 10 BRANCH="$VERSION" |
pankso@2824 | 11 |
pascal@15112 | 12 BUILD_DEPENDS="subversion" |
pascal@15112 | 13 |
pankso@2824 | 14 # Rules to configure and make the package. |
pankso@2824 | 15 compile_rules() |
pankso@2824 | 16 { |
pankso@2824 | 17 cd $src |
pascal@15112 | 18 export CFLAGS="-Wno-error=unused-but-set-variable" |
pascal@15112 | 19 make install DESTDIR=$DESTDIR PREFIX=/usr && |
pascal@15112 | 20 make install COMPONENT_TYPE=lib-shared DESTDIR=$DESTDIR PREFIX=/usr |
pankso@2824 | 21 } |
pankso@2824 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2824 | 23 genpkg_rules() |
pankso@2824 | 24 { |
pankso@2824 | 25 mkdir -p $fs/usr/lib |
pascal@15112 | 26 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@2824 | 27 } |