wok-next annotate libcroco/receipt @ rev 14109
Up zerobin (0.17_alpha)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 24 11:44:36 2013 +0100 (2013-02-24) |
parents | dc5d15ed9adc |
children | 4904e3d374a9 |
rev | line source |
---|---|
pankso@4094 | 1 # SliTaz package receipt. |
pankso@4094 | 2 |
pankso@4094 | 3 PACKAGE="libcroco" |
slaxemulator@12372 | 4 VERSION="0.6.4" |
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" |
slaxemulator@12372 | 10 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@4094 | 11 WEB_SITE="http://www.freespiders.org/projects/libcroco/" |
slaxemulator@12372 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:3}/$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 $CONFIGURE_ARGS && |
pankso@4094 | 20 make && |
slaxemulator@12372 | 21 make DESTDIR=$DESTDIR install |
pankso@4094 | 22 } |
pankso@4094 | 23 |
pankso@4094 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4094 | 25 genpkg_rules() |
pankso@4094 | 26 { |
pankso@4094 | 27 mkdir -p $fs/usr/lib $fs/usr/bin |
pankso@4094 | 28 cp $_pkg/usr/bin/csslint* $fs/usr/bin |
pankso@4094 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4094 | 30 } |