wok-current annotate libxml2/receipt @ rev 12911
glibc-base: ARM use Eglibc and files in sysroot with standard paths
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 29 17:48:30 2012 +0000 (2012-05-29) |
parents | 4c7e8355c655 |
children | 27727d07d680 |
rev | line source |
---|---|
pankso@24 | 1 # SliTaz package receipt. |
pankso@24 | 2 |
pankso@24 | 3 PACKAGE="libxml2" |
slaxemulator@7345 | 4 VERSION="2.7.8" |
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@12817 | 11 HOST_ARCH="i486 arm" |
pankso@12817 | 12 |
pascal@2475 | 13 DEPENDS="zlib" |
gokhlayeh@11482 | 14 BUILD_DEPENDS="python" |
pankso@24 | 15 |
pankso@12817 | 16 # When cross compiling Python is installed in chroot and is used |
pankso@12817 | 17 # by cross tools, cook dont need to install it in /usr/cross/arm |
pankso@12817 | 18 case "$ARCH" in |
pankso@12817 | 19 arm) BUILD_DEPENDS="" ;; |
pankso@12817 | 20 esac |
pankso@12817 | 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@9700 | 29 patch -Np1 -i $stuff/libxml2-fix.patch |
pankso@24 | 30 ./configure \ |
pankso@12817 | 31 $CONFIGURE_ARGS && |
pankso@12817 | 32 make && make install |
pankso@24 | 33 } |
pankso@24 | 34 |
pankso@24 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@24 | 36 genpkg_rules() |
pankso@24 | 37 { |
pankso@24 | 38 mkdir -p $fs/usr/lib |
pankso@12817 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@24 | 40 } |