wok-6.x view libcss/receipt @ rev 15535
Up: firefox-dev (17.0.11esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 24 17:36:12 2013 +0100 (2013-11-24) |
parents | 6e24618e3b76 |
children | 6525a96e6216 |
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 LICENSE="MIT"
9 WEB_SITE="http://www.netsurf-browser.org/projects/libcss/"
10 WGET_URL="http://www.netsurf-browser.org/projects/releases/$TARBALL"
11 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
13 DEPENDS="libparserutils libwapcaplet"
14 BUILD_DEPENDS="libwapcaplet-dev libparserutils-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 export CFLAGS="-Wno-error=unused-but-set-variable"
21 COMPONENT_TYPE=lib-shared make \
22 && PREFIX=/usr make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $src/*-lib-shared/*.so* $fs/usr/lib
30 }