wok annotate libcss/receipt @ rev 15650
Up: libcss (0.1.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 10 16:14:37 2013 +0000 (2013-12-10) |
parents | 6c3718ca17b6 |
children | e1200b521d82 |
rev | line source |
---|---|
erjo@5930 | 1 # SliTaz package receipt. |
erjo@5930 | 2 |
erjo@5930 | 3 PACKAGE="libcss" |
pascal@15650 | 4 VERSION="0.1.2" |
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 TARBALL="$PACKAGE-$VERSION-src.tar.gz" |
pascal@15650 | 11 WGET_URL="http://download.netsurf-browser.org/libs/releases/$TARBALL" |
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 |
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 |