wok-6.x view libxml2/receipt @ rev 21703
updated proftpd and proftpd-dev (1.3.4d -> 1.3.6)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 06 16:27:45 2019 +0100 (2019-06-06) |
parents | f6332424127f |
children | 1394632bbfa7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libxml2"
4 VERSION="2.9.9"
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 }