wok-6.x view libxml2/receipt @ rev 23157
get-LibreOffice: other URL for old versions
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 17 06:58:18 2020 +0100 (2020-03-17) |
parents | 0253e30fe373 |
children | 3e2a0347b2f1 |
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 # Rules to configure and make the package.
29 #
30 # Note: libxml2 can be build using option --with-minimum
31 # and binaries are splited into libxml2-tools
32 compile_rules()
33 {
34 autoreconf -fi &&
35 ./configure \
36 --prefix=/usr \
37 --infodir=/usr/share/info \
38 --mandir=/usr/share/man \
39 --with-html-dir=/usr/share/doc \
40 --with-threads \
41 --with-history \
42 $CONFIGURE_ARGS $ARCH_ARGS &&
43 make -j 1 &&
44 make DESTDIR=$DESTDIR install 2>&1 | grep -v "can't stat './..html':"
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/usr/lib
51 cp -a $install/usr/lib/*.so* $fs/usr/lib
52 }