wok-current annotate libcss/receipt @ rev 20256
Add tlp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 13 23:01:20 2018 +0100 (2018-03-13) |
parents | 6525a96e6216 |
children | ede1d184d5c5 |
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" |
pankso@16256 | 12 #HOST_ARCH="i486 arm" |
pascal@15112 | 13 |
erjo@5930 | 14 DEPENDS="libparserutils libwapcaplet" |
erjo@5930 | 15 BUILD_DEPENDS="libwapcaplet-dev libparserutils-dev" |
erjo@5930 | 16 |
erjo@5930 | 17 # Rules to configure and make the package. |
erjo@5930 | 18 compile_rules() |
erjo@5930 | 19 { |
pankso@16256 | 20 make COMPONENT_TYPE=lib-shared && |
pankso@16256 | 21 make PREFIX=/usr 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 |