wok-next view libxml2/receipt @ rev 16012
syslinux/iso2exe: access both local and isofs namespaces
| author | Pascal Bellard <pascal.bellard@slitaz.org> | 
|---|---|
| date | Tue Mar 04 21:00:29 2014 +0000 (2014-03-04) | 
| parents | 0bd0738f4d00 | 
| children | 4eab61ea2c5a | 
 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 # Building with LZMA support is buggy and build fails
    20 case "$ARCH" in
    21 	arm)
    22 		BUILD_DEPENDS="" 
    23 		ARCH_ARGS="--without-lzma" ;;
    24 esac
    26 # Rules to configure and make the package.
    27 #
    28 # Note: libxml2 can be build using option --with-minimum
    29 # and binaries are splited into libxml2-tools
    30 compile_rules()
    31 {
    32 	autoreconf -fi
    33 	./configure \
    34 		--prefix=/usr \
    35 		--infodir=/usr/share/info \
    36 		--mandir=/usr/share/man \
    37 		--with-html-dir=/usr/share/doc \
    38 		--with-threads \
    39 		--with-history \
    40 	$CONFIGURE_ARGS $ARCH_ARGS &&
    41 	make &&
    42 	make DESTDIR=$DESTDIR install 2>&1 | grep -v "can't stat './..html':"
    43 }
    45 # Rules to gen a SliTaz package suitable for Tazpkg.
    46 genpkg_rules()
    47 {
    48 	mkdir -p $fs/usr/lib
    49 	cp -a $install/usr/lib/*.so* $fs/usr/lib
    50 }