wok-current annotate libcss/receipt @ rev 11610
linux: use lzma compression (xz does not build)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 20 23:37:52 2012 +0100 (2012-01-20) |
parents | |
children | 6e24618e3b76 |
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" |
erjo@5930 | 8 DEPENDS="libparserutils libwapcaplet" |
erjo@5930 | 9 BUILD_DEPENDS="libwapcaplet-dev libparserutils-dev" |
erjo@5930 | 10 TARBALL="$PACKAGE-$VERSION-src.tar.gz" |
erjo@5930 | 11 WEB_SITE="http://www.netsurf-browser.org/projects/libcss/" |
erjo@5930 | 12 WGET_URL="http://www.netsurf-browser.org/projects/releases/$TARBALL" |
erjo@5930 | 13 |
erjo@5930 | 14 # Rules to configure and make the package. |
erjo@5930 | 15 compile_rules() |
erjo@5930 | 16 { |
erjo@5930 | 17 cd $src |
erjo@5930 | 18 COMPONENT_TYPE=lib-shared make \ |
erjo@5930 | 19 && PREFIX=/usr make DESTDIR=$PWD/_pkg install |
erjo@5930 | 20 } |
erjo@5930 | 21 |
erjo@5930 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@5930 | 23 genpkg_rules() |
erjo@5930 | 24 { |
erjo@5930 | 25 mkdir -p $fs/usr/lib |
erjo@5930 | 26 cp -a $src/*-lib-shared/*.so* $fs/usr/lib |
erjo@5930 | 27 } |
erjo@5930 | 28 |