wok view libcss/receipt @ rev 15521

Up: thunderbird-langpack-ru (17.0.10esr)
author Dominique Corbex <domcox@slitaz.org>
date Tue Nov 19 22:24:31 2013 +0100 (2013-11-19)
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 }