wok-current view libcss/receipt @ rev 15173

steadyflow: filter wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 16 09:18:47 2013 +0000 (2013-08-16)
parents 706b6053b0ac
children 6c3718ca17b6
line source
1 # SliTaz package receipt.
3 PACKAGE="libcss"
4 VERSION="0.0.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="CSS Parser"
7 MAINTAINER="erjo@slitaz.org"
8 WEB_SITE="http://www.netsurf-browser.org/projects/libcss/"
9 WGET_URL="http://www.netsurf-browser.org/projects/releases/$TARBALL"
10 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
12 DEPENDS="libparserutils libwapcaplet"
13 BUILD_DEPENDS="libwapcaplet-dev libparserutils-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 export CFLAGS="-Wno-error=unused-but-set-variable"
20 COMPONENT_TYPE=lib-shared make \
21 && PREFIX=/usr make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $src/*-lib-shared/*.so* $fs/usr/lib
29 }