wok-next view libxml2/receipt @ rev 15855

New kernel config and huge receipt clean up
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 29 09:56:07 2014 +0100 (2014-01-29)
parents b3db8675cb43
children f6332424127f
line source
1 # SliTaz package receipt.
3 PACKAGE="libxml2"
4 VERSION="2.8.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Libxml2 is the XML C parser and toolkit."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://xmlsoft.org/"
11 WGET_URL="ftp://xmlsoft.org/libxml2/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="zlib"
15 BUILD_DEPENDS="zlib-dev python-dev autoconf automake libtool"
17 # When cross compiling Python is installed in chroot and is used
18 # by cross tools, cook dont need to install it in /usr/cross/arm
19 case "$ARCH" in
20 arm) BUILD_DEPENDS="" ;;
21 esac
23 # Rules to configure and make the package.
24 #
25 # Note: libxml2 can be build using option --with-minimum
26 # and binaries are splited into libxml2-tools
27 compile_rules()
28 {
29 cd $src
30 autoreconf -fi
31 ./configure \
32 --prefix=/usr \
33 --infodir=/usr/share/info \
34 --mandir=/usr/share/man \
35 --with-html-dir=/usr/share/doc \
36 --with-threads \
37 --with-history \
38 $CONFIGURE_ARGS &&
39 make &&
40 make DESTDIR=$DESTDIR install 2>&1 | grep -v "can't stat './..html':"
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 }