wok-current annotate libxml2/receipt @ rev 13451

Add: claws-mail-python
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Oct 07 01:28:19 2012 +0200 (2012-10-07)
parents 27727d07d680
children 09959b49f7da
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"
pankso@24 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@24 9 WEB_SITE="http://xmlsoft.org/"
pankso@24 10 WGET_URL="ftp://xmlsoft.org/libxml2/$TARBALL"
pankso@13368 11 HOST_ARCH="i486 arm"
pankso@13368 12
pascal@2475 13 DEPENDS="zlib"
slaxemulator@13174 14 BUILD_DEPENDS="zlib-dev python-dev"
pankso@12817 15
pankso@13368 16 # When cross compiling Python is installed in chroot and is used
pankso@13368 17 # by cross tools, cook dont need to install it in /usr/cross/arm
pankso@13368 18 case "$ARCH" in
pankso@13368 19 arm) BUILD_DEPENDS="" ;;
pankso@13368 20 esac
pankso@13368 21
pankso@24 22 # Rules to configure and make the package.
pankso@24 23 #
pankso@24 24 # Note: libxml2 can be build using option --with-minimum
pankso@4828 25 # and binaries are splited into libxml2-tools
pankso@24 26 compile_rules()
pankso@24 27 {
pankso@24 28 cd $src
slaxemulator@13174 29 autoreconf -fi
pankso@24 30 ./configure \
slaxemulator@13174 31 --prefix=/usr \
slaxemulator@13174 32 --infodir=/usr/share/info \
slaxemulator@13174 33 --mandir=/usr/share/man \
slaxemulator@13174 34 --with-html-dir=/usr/share/doc \
slaxemulator@13174 35 --with-threads \
slaxemulator@13174 36 --with-history \
slaxemulator@13174 37 $CONFIGURE_ARGS &&
slaxemulator@13174 38 make &&
slaxemulator@13174 39 make DESTDIR=$DESTDIR install
pankso@24 40 }
pankso@24 41
pankso@24 42 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@24 43 genpkg_rules()
pankso@24 44 {
pankso@24 45 mkdir -p $fs/usr/lib
pankso@12817 46 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@24 47 }