wok-next view libxml2/receipt @ rev 21085

Up: bison (3.2.3), cmake (3.13.2), curl (7.63.0), dbus (1.12.12), dialog (1.3-20181107), doxygen (1.8.14), e2fsprogs (1.44.5), glib (2.58.2), grep (3.3), itstool (2.0.5), jansson (2.12), jbig2dec (0.15), libfm-extra (1.3.1), libfm (1.3.1), libgpg-error (1.33), libidn (1.35), libjpeg-turbo (2.0.1), libtirpc (1.1.4), libuv (1.24.1), opus (1.3), opusfile (0.11), pango (1.42.4), pangomm (2.42.0), pcmanfm (1.3.1), rpcbind (1.2.5), rpcsvc-proto (1.4), sed (4.7), tcl (8.6.9), tslib (1.18), wget (1.20), wpa_supplicant (2.7)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Dec 25 19:30:28 2018 +0200 (2018-12-25)
parents d5aab818505e
children 2ed19fb406c3
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libxml2"
4 VERSION="2.9.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="XML C parser and toolkit"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://xmlsoft.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libxml2.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://xmlsoft.org/sources/$TARBALL"
14 TARBALL_SHA1="66bcefd98a6b7573427cf66f9d3841b59eb5b8c3"
16 BUILD_DEPENDS="zlib-dev xz-dev python3-dev ncurses-dev readline-dev"
17 SPLIT="$PACKAGE-tools $PACKAGE-python $PACKAGE-dev"
19 COPY_std="libxml2.so*"
20 COPY_tools="xmllint xmlcatalog"
21 COPY_python="site-packages/*.py libxml2mod.so"
22 COPY_dev="@dev *.sh"
24 DEPENDS_std="liblzma zlib"
25 DEPENDS_tools="$PACKAGE readline"
26 DEPENDS_python="$PACKAGE python3" # libxslt
27 DEPENDS_dev="xz-dev zlib-dev $PACKAGE-tools"
29 CAT_tools="system-tools|utilities"
30 CAT_python="development|adapter for the Python"
32 compile_rules() {
33 sed -i '/_PyVerify_fd/,+1d' python/types.c
35 ./configure \
36 --disable-static \
37 --with-history \
38 --with-python=/usr/bin/python3 \
39 $CONFIGURE_ARGS &&
40 fix libtool &&
41 make &&
42 make install || return 1
44 find $install -name '*.sh' -exec chmod +x '{}' \;
45 }