wok-6.x view libcroco/receipt @ rev 24559
updated fop (2.4 -> 2.7)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 15:52:00 2022 +0100 (2022-02-25) |
parents | e28d7c3067f6 |
children | 870e1ce31226 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libcroco"
4 VERSION="0.6.13"
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="glib libxml2 zlib"
15 BUILD_DEPENDS="glib-dev libxml2-dev zlib-dev"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS &&
29 make -j 1 &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 mkdir -p $fs/usr/bin
39 cp $install/usr/bin/csslint* $fs/usr/bin
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }