wok-next diff libcroco/receipt @ rev 19972
Up copyq (3.1.1), qedit (2.8.1)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Tue Oct 17 19:29:54 2017 +0200 (2017-10-17) |
parents | f463de72afe3 |
children | 2d54d154d5ca |
line diff
1.1 --- a/libcroco/receipt Sun Jun 18 04:38:10 2017 +0300 1.2 +++ b/libcroco/receipt Tue Oct 17 19:29:54 2017 +0200 1.3 @@ -1,23 +1,24 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libcroco" 1.8 VERSION="0.6.11" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="Cascading Style Sheet (CSS) parsing and manipulation toolkit." 1.11 +SHORT_DESC="Cascading Style Sheet (CSS) parsing and manipulation toolkit" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="LGPL2" 1.14 WEB_SITE="https://developer.gnome.org/libcroco/" 1.15 HOST_ARCH="i486 arm" 1.16 1.17 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.18 -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:3}/$TARBALL" 1.19 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 1.20 1.21 -DEPENDS="glib liblzma libxml2 pcre zlib" 1.22 BUILD_DEPENDS="libxml2-dev glib-dev zlib-dev gtk-doc" 1.23 +SPLIT="libcroco-dev" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 + # http://www.linuxfromscratch.org/blfs/view/stable/general/libcroco.html 1.29 ./configure \ 1.30 --disable-static \ 1.31 $CONFIGURE_ARGS && 1.32 @@ -28,5 +29,14 @@ 1.33 # Rules to gen a SliTaz package suitable for Tazpkg. 1.34 genpkg_rules() 1.35 { 1.36 - copy csslint-${VERSION%.*} *.so* 1.37 + case $PACKAGE in 1.38 + libcroco) 1.39 + copy @std 1.40 + DEPENDS="glib liblzma libxml2 pcre zlib" 1.41 + ;; 1.42 + *-dev) 1.43 + copy @dev 1.44 + DEPENDS="libcroco glib-dev libxml2-dev pcre-dev xz-dev zlib-dev" 1.45 + ;; 1.46 + esac 1.47 }