wok-6.x annotate libxml2/receipt @ rev 22257
updated xorg-xextproto (7.2.1 -> 7.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Nov 12 17:24:30 2019 +0100 (2019-11-12) |
parents | f6332424127f |
children | 1394632bbfa7 |
rev | line source |
---|---|
pankso@24 | 1 # SliTaz package receipt. |
pankso@24 | 2 |
pankso@24 | 3 PACKAGE="libxml2" |
Hans-G?nter@21352 | 4 VERSION="2.9.9" |
pankso@211 | 5 CATEGORY="system-tools" |
Hans-G?nter@21352 | 6 SHORT_DESC="XML C parser and toolkit." |
pankso@24 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15268 | 8 LICENSE="MIT" |
Hans-G?nter@21352 | 9 WEB_SITE="http://xmlsoft.org/" |
Hans-G?nter@21352 | 10 |
pankso@24 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@24 | 12 WGET_URL="ftp://xmlsoft.org/libxml2/$TARBALL" |
pankso@13368 | 13 |
pascal@2475 | 14 DEPENDS="zlib" |
Hans-G?nter@21352 | 15 BUILD_DEPENDS="autoconf automake libtool python-dev zlib-dev" |
Hans-G?nter@21352 | 16 |
Hans-G?nter@21352 | 17 HOST_ARCH="i486 arm" |
pankso@12817 | 18 |
pankso@13368 | 19 # When cross compiling Python is installed in chroot and is used |
pankso@13368 | 20 # by cross tools, cook dont need to install it in /usr/cross/arm |
pankso@15944 | 21 # Building with LZMA support is buggy and build fails |
pankso@13368 | 22 case "$ARCH" in |
pankso@15944 | 23 arm) |
pankso@15944 | 24 BUILD_DEPENDS="" |
pankso@15944 | 25 ARCH_ARGS="--without-lzma" ;; |
pankso@13368 | 26 esac |
pankso@13368 | 27 |
pankso@24 | 28 # Rules to configure and make the package. |
pankso@24 | 29 # |
pankso@24 | 30 # Note: libxml2 can be build using option --with-minimum |
pankso@4828 | 31 # and binaries are splited into libxml2-tools |
pankso@24 | 32 compile_rules() |
pankso@24 | 33 { |
slaxemulator@13174 | 34 autoreconf -fi |
Hans-G?nter@21352 | 35 ./configure \ |
Hans-G?nter@21352 | 36 --prefix=/usr \ |
Hans-G?nter@21352 | 37 --infodir=/usr/share/info \ |
Hans-G?nter@21352 | 38 --mandir=/usr/share/man \ |
Hans-G?nter@21352 | 39 --with-html-dir=/usr/share/doc \ |
Hans-G?nter@21352 | 40 --with-threads \ |
Hans-G?nter@21352 | 41 --with-history \ |
pankso@15944 | 42 $CONFIGURE_ARGS $ARCH_ARGS && |
Hans-G?nter@21352 | 43 make -j 1 && |
pascal@15270 | 44 make DESTDIR=$DESTDIR install 2>&1 | grep -v "can't stat './..html':" |
pankso@24 | 45 } |
pankso@24 | 46 |
pankso@24 | 47 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@24 | 48 genpkg_rules() |
pankso@24 | 49 { |
pankso@24 | 50 mkdir -p $fs/usr/lib |
pankso@12817 | 51 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@24 | 52 } |