wok-next annotate libcroco/receipt @ rev 16005
Add go lang (1.2.1)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Mar 04 13:26:16 2014 +0100 (2014-03-04) |
parents | 4904e3d374a9 |
children | e2dc7c2d000d |
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" |
pascal@15004 | 8 LICENSE="LGPL2" |
slaxemulator@12372 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@4094 | 10 WEB_SITE="http://www.freespiders.org/projects/libcroco/" |
slaxemulator@12372 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:3}/$TARBALL" |
pankso@4094 | 12 |
pascal@14714 | 13 DEPENDS="libxml2 glib zlib" |
pascal@14714 | 14 BUILD_DEPENDS="libxml2-dev glib-dev zlib-dev" |
pascal@14714 | 15 |
pankso@4094 | 16 # Rules to configure and make the package. |
pankso@4094 | 17 compile_rules() |
pankso@4094 | 18 { |
pankso@4094 | 19 cd $src |
pankso@4094 | 20 ./configure \ |
pankso@4094 | 21 $CONFIGURE_ARGS && |
pankso@4094 | 22 make && |
slaxemulator@12372 | 23 make DESTDIR=$DESTDIR install |
pankso@4094 | 24 } |
pankso@4094 | 25 |
pankso@4094 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4094 | 27 genpkg_rules() |
pankso@4094 | 28 { |
pankso@4094 | 29 mkdir -p $fs/usr/lib $fs/usr/bin |
pascal@14714 | 30 cp $install/usr/bin/csslint* $fs/usr/bin |
pascal@14714 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@4094 | 32 } |