wok-current annotate libxml2/receipt @ rev 15717

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