wok view libxml2/receipt @ rev 15539
Up: firefox-langpack-es_ES (17.0.11esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 24 17:36:28 2013 +0100 (2013-11-24) |
parents | 09959b49f7da |
children | 0bd0738f4d00 |
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"
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 }