wok-current view hubbub/receipt @ rev 14354
hubbub: add -Wno-error=unused-but-set-variable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 17 08:58:45 2013 +0200 (2013-04-17) |
parents | d058f473eb3b |
children | de49f29b101e |
line source
1 # SliTaz package receipt.
3 PACKAGE="hubbub"
4 VERSION="8960"
5 CATEGORY="system-tools"
6 SHORT_DESC="Hubbub is a flexible HTML parser."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.netsurf-browser.org/projects/hubbub/"
10 WGET_URL="subversion|svn://svn.netsurf-browser.org/trunk/hubbub"
11 BRANCH="$VERSION"
13 DEPENDS="libparserutils"
14 BUILD_DEPENDS="subversion libparserutils-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/-pedantic/-Wno-error=unused-but-set-variable &/' Makefile
21 make install DESTDIR=$DESTDIR PREFIX=/usr &&
22 make install COMPONENT_TYPE=lib-shared DESTDIR=$DESTDIR PREFIX=/usr
23 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/lib/*.so* $fs/usr/lib
29 }