wok view libxml2/receipt @ rev 24534

updated faac and faac-dev (1.29.9.2 -> 1.30)
author Hans-G?nter Theisgen
date Wed Feb 23 11:28:45 2022 +0100 (2022-02-23)
parents 1394632bbfa7
children bc2b9d9bed6f
line source
1 # SliTaz package receipt.
3 PACKAGE="libxml2"
4 VERSION="2.9.10"
5 CATEGORY="system-tools"
6 SHORT_DESC="XML C parser and toolkit."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://xmlsoft.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="ftp://xmlsoft.org/libxml2/$TARBALL"
14 DEPENDS="zlib"
15 BUILD_DEPENDS="autoconf automake libtool python-dev zlib-dev"
17 HOST_ARCH="i486 arm"
19 # When cross compiling Python is installed in chroot and is used
20 # by cross tools, cook dont need to install it in /usr/cross/arm
21 # Building with LZMA support is buggy and build fails
22 case "$ARCH" in
23 arm)
24 BUILD_DEPENDS=""
25 ARCH_ARGS="--without-lzma" ;;
26 esac
28 current_version()
29 {
30 wget -O - $WEB_SITE/news.html 2>/dev/null | \
31 sed '/<h3>v/!d;s|.*<h3>v||;s|:.*||;q'
32 }
34 # Rules to configure and make the package.
35 #
36 # Note: libxml2 can be build using option --with-minimum
37 # and binaries are splited into libxml2-tools
38 compile_rules()
39 {
40 autoreconf -fi &&
41 ./configure \
42 --prefix=/usr \
43 --infodir=/usr/share/info \
44 --mandir=/usr/share/man \
45 --with-html-dir=/usr/share/doc \
46 --with-threads \
47 --with-history \
48 $CONFIGURE_ARGS $ARCH_ARGS &&
49 make -j 1 &&
50 make DESTDIR=$DESTDIR install 2>&1 | grep -v "can't stat './..html':"
51 }
53 # Rules to gen a SliTaz package suitable for Tazpkg.
54 genpkg_rules()
55 {
56 mkdir -p $fs/usr/lib
57 cp -a $install/usr/lib/*.so* $fs/usr/lib
58 }