wok-next view libcroco/receipt @ rev 20074
Up dooble, smtube
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 05:01:33 2017 +0200 (2017-10-25) |
parents | f463de72afe3 |
children | 2d54d154d5ca |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libcroco"
4 VERSION="0.6.11"
5 CATEGORY="system-tools"
6 SHORT_DESC="Cascading Style Sheet (CSS) parsing and manipulation toolkit"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://developer.gnome.org/libcroco/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="libxml2-dev glib-dev zlib-dev gtk-doc"
16 SPLIT="libcroco-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # http://www.linuxfromscratch.org/blfs/view/stable/general/libcroco.html
22 ./configure \
23 --disable-static \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 case $PACKAGE in
33 libcroco)
34 copy @std
35 DEPENDS="glib liblzma libxml2 pcre zlib"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="libcroco glib-dev libxml2-dev pcre-dev xz-dev zlib-dev"
40 ;;
41 esac
42 }