wok-next view libxml2/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | 2ed19fb406c3 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libxml2"
4 VERSION="2.9.9"
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="96686d1dd9fddf3b35a28b1e2e4bbacac889add3"
16 BUILD_DEPENDS="zlib-dev xz-dev python3-dev python-dev ncurses-dev readline-dev"
17 SPLIT="$PACKAGE-tools $PACKAGE-python $PACKAGE-python3 $PACKAGE-dev"
19 COPY_std="libxml2.so.*"
20 COPY_tools="xmllint xmlcatalog"
21 COPY_python="python2.*/*/*.py python2.*/*/*.so"
22 COPY_python3="python3.*/*/*.py python3.*/*/*.so"
23 COPY_dev="@dev *.sh libxml2.so"
25 DEPENDS_std="liblzma zlib"
26 DEPENDS_tools="$PACKAGE readline"
27 DEPENDS_python="$PACKAGE python" # libxslt
28 DEPENDS_python3="$PACKAGE python3" # libxslt
29 DEPENDS_dev="xz-dev zlib-dev $PACKAGE-tools"
31 CAT_tools="system-tools|utilities"
32 CAT_python="development|adapter for the Python2"
33 CAT_python3="development|adapter for the Python3"
35 compile_rules() {
36 ./configure \
37 --disable-static \
38 --with-history \
39 --with-python=/usr/bin/python3 \
40 $CONFIGURE_ARGS &&
41 fix libtool &&
42 make &&
43 make install || return 1
45 ./configure \
46 --disable-static \
47 --with-history \
48 --with-python=/usr/bin/python2 \
49 $CONFIGURE_ARGS &&
50 fix libtool &&
51 make &&
52 make install || return 1
54 find $install -name '*.sh' -exec chmod +x '{}' \;
55 }