wok-6.x annotate libcroco/receipt @ rev 14871
musl-libc: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 23 09:36:13 2013 +0000 (2013-07-23) |
parents | 481017e94c90 |
children | a00bf44ed23d |
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@14714 | 8 LICENSE="GPL2" |
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 } |