wok-next annotate libxml2/receipt @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents 2ed19fb406c3
children
rev   line source
al@19735 1 # SliTaz package receipt v2.
pankso@24 2
pankso@24 3 PACKAGE="libxml2"
al@21135 4 VERSION="2.9.9"
pankso@211 5 CATEGORY="system-tools"
al@19735 6 SHORT_DESC="XML C parser and toolkit"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15268 8 LICENSE="MIT"
pankso@24 9 WEB_SITE="http://xmlsoft.org/"
al@20905 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libxml2.html"
pankso@13368 11
al@19590 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@21085 13 WGET_URL="http://xmlsoft.org/sources/$TARBALL"
al@21135 14 TARBALL_SHA1="96686d1dd9fddf3b35a28b1e2e4bbacac889add3"
al@19590 15
al@21101 16 BUILD_DEPENDS="zlib-dev xz-dev python3-dev python-dev ncurses-dev readline-dev"
al@21101 17 SPLIT="$PACKAGE-tools $PACKAGE-python $PACKAGE-python3 $PACKAGE-dev"
pankso@12817 18
al@21135 19 COPY_std="libxml2.so.*"
al@21085 20 COPY_tools="xmllint xmlcatalog"
al@21135 21 COPY_python="python2.*/*/*.py python2.*/*/*.so"
al@21135 22 COPY_python3="python3.*/*/*.py python3.*/*/*.so"
al@21135 23 COPY_dev="@dev *.sh libxml2.so"
al@21085 24
al@21085 25 DEPENDS_std="liblzma zlib"
al@21085 26 DEPENDS_tools="$PACKAGE readline"
al@21101 27 DEPENDS_python="$PACKAGE python" # libxslt
al@21101 28 DEPENDS_python3="$PACKAGE python3" # libxslt
al@21085 29 DEPENDS_dev="xz-dev zlib-dev $PACKAGE-tools"
al@21085 30
al@21085 31 CAT_tools="system-tools|utilities"
al@21135 32 CAT_python="development|adapter for the Python2"
al@21135 33 CAT_python3="development|adapter for the Python3"
al@21085 34
al@20443 35 compile_rules() {
pankso@24 36 ./configure \
al@19590 37 --disable-static \
slaxemulator@13174 38 --with-history \
al@21085 39 --with-python=/usr/bin/python3 \
al@21085 40 $CONFIGURE_ARGS &&
al@20595 41 fix libtool &&
slaxemulator@13174 42 make &&
al@21085 43 make install || return 1
al@19590 44
al@21101 45 ./configure \
al@21101 46 --disable-static \
al@21101 47 --with-history \
al@21101 48 --with-python=/usr/bin/python2 \
al@21101 49 $CONFIGURE_ARGS &&
al@21101 50 fix libtool &&
al@21101 51 make &&
al@21101 52 make install || return 1
al@21101 53
al@21085 54 find $install -name '*.sh' -exec chmod +x '{}' \;
pankso@24 55 }