wok-6.x annotate libcss/receipt @ rev 15343
perl: add threads support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 29 15:37:29 2013 +0000 (2013-09-29) |
parents | 706b6053b0ac |
children | 6c3718ca17b6 |
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@15112 | 8 WEB_SITE="http://www.netsurf-browser.org/projects/libcss/" |
pascal@15112 | 9 WGET_URL="http://www.netsurf-browser.org/projects/releases/$TARBALL" |
pascal@15112 | 10 TARBALL="$PACKAGE-$VERSION-src.tar.gz" |
pascal@15112 | 11 |
erjo@5930 | 12 DEPENDS="libparserutils libwapcaplet" |
erjo@5930 | 13 BUILD_DEPENDS="libwapcaplet-dev libparserutils-dev" |
erjo@5930 | 14 |
erjo@5930 | 15 # Rules to configure and make the package. |
erjo@5930 | 16 compile_rules() |
erjo@5930 | 17 { |
erjo@5930 | 18 cd $src |
pascal@15112 | 19 export CFLAGS="-Wno-error=unused-but-set-variable" |
erjo@5930 | 20 COMPONENT_TYPE=lib-shared make \ |
pascal@15112 | 21 && PREFIX=/usr make DESTDIR=$DESTDIR install |
erjo@5930 | 22 } |
erjo@5930 | 23 |
erjo@5930 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@5930 | 25 genpkg_rules() |
erjo@5930 | 26 { |
erjo@5930 | 27 mkdir -p $fs/usr/lib |
erjo@5930 | 28 cp -a $src/*-lib-shared/*.so* $fs/usr/lib |
erjo@5930 | 29 } |
erjo@5930 | 30 |