wok annotate libcss/receipt @ rev 15472

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 09 17:34:23 2013 +0000 (2013-11-09)
parents 6e24618e3b76
children 6525a96e6216
rev   line source
erjo@5930 1 # SliTaz package receipt.
erjo@5930 2
erjo@5930 3 PACKAGE="libcss"
erjo@5930 4 VERSION="0.0.1"
erjo@5930 5 CATEGORY="system-tools"
erjo@5930 6 SHORT_DESC="CSS Parser"
erjo@5930 7 MAINTAINER="erjo@slitaz.org"
pascal@15472 8 LICENSE="MIT"
pascal@15112 9 WEB_SITE="http://www.netsurf-browser.org/projects/libcss/"
pascal@15112 10 WGET_URL="http://www.netsurf-browser.org/projects/releases/$TARBALL"
pascal@15112 11 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
pascal@15112 12
erjo@5930 13 DEPENDS="libparserutils libwapcaplet"
erjo@5930 14 BUILD_DEPENDS="libwapcaplet-dev libparserutils-dev"
erjo@5930 15
erjo@5930 16 # Rules to configure and make the package.
erjo@5930 17 compile_rules()
erjo@5930 18 {
erjo@5930 19 cd $src
pascal@15112 20 export CFLAGS="-Wno-error=unused-but-set-variable"
erjo@5930 21 COMPONENT_TYPE=lib-shared make \
pascal@15112 22 && PREFIX=/usr make DESTDIR=$DESTDIR install
erjo@5930 23 }
erjo@5930 24
erjo@5930 25 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@5930 26 genpkg_rules()
erjo@5930 27 {
erjo@5930 28 mkdir -p $fs/usr/lib
erjo@5930 29 cp -a $src/*-lib-shared/*.so* $fs/usr/lib
erjo@5930 30 }
erjo@5930 31