wok annotate libcroco/receipt @ rev 10595
samba: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 26 12:47:25 2011 +0200 (2011-05-26) |
parents | |
children | 481017e94c90 |
rev | line source |
---|---|
pankso@4094 | 1 # SliTaz package receipt. |
pankso@4094 | 2 |
pankso@4094 | 3 PACKAGE="libcroco" |
pankso@4094 | 4 VERSION="0.6.2" |
pankso@4094 | 5 CATEGORY="system-tools" |
pankso@4094 | 6 SHORT_DESC="Cascading Style Sheet (CSS) parsing and manipulation toolkit." |
pankso@4094 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4094 | 8 DEPENDS="libxml2 glib zlib" |
pankso@4094 | 9 BUILD_DEPENDS="libxml2-dev glib-dev zlib-dev" |
pankso@4094 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4094 | 11 WEB_SITE="http://www.freespiders.org/projects/libcroco/" |
pankso@4094 | 12 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/libcroco/0.6/$TARBALL" |
pankso@4094 | 13 |
pankso@4094 | 14 # Rules to configure and make the package. |
pankso@4094 | 15 compile_rules() |
pankso@4094 | 16 { |
pankso@4094 | 17 cd $src |
pankso@4094 | 18 ./configure \ |
pankso@4094 | 19 --prefix=/usr \ |
pankso@4094 | 20 $CONFIGURE_ARGS && |
pankso@4094 | 21 make && |
pankso@4094 | 22 make DESTDIR=$PWD/_pkg install |
pankso@4094 | 23 } |
pankso@4094 | 24 |
pankso@4094 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4094 | 26 genpkg_rules() |
pankso@4094 | 27 { |
pankso@4094 | 28 mkdir -p $fs/usr/lib $fs/usr/bin |
pankso@4094 | 29 cp $_pkg/usr/bin/csslint* $fs/usr/bin |
pankso@4094 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4094 | 31 } |