wok-next rev 21101
libxml2: make Python2 module too
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 02 18:49:37 2019 +0200 (2019-01-02) |
parents | c88baf7ab6c5 |
children | 31650f3afb05 |
files | cookutils/receipt libxml2/receipt |
line diff
1.1 --- a/cookutils/receipt Tue Jan 01 23:46:47 2019 +0200 1.2 +++ b/cookutils/receipt Wed Jan 02 18:49:37 2019 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="cookutils" 1.7 -VERSION="1125" 1.8 +VERSION="1127" 1.9 CATEGORY="base-system" 1.10 SHORT_DESC="SliTaz packages builder new generation" 1.11 MAINTAINER="devel@slitaz.org"
2.1 --- a/libxml2/receipt Tue Jan 01 23:46:47 2019 +0200 2.2 +++ b/libxml2/receipt Wed Jan 02 18:49:37 2019 +0200 2.3 @@ -13,17 +13,19 @@ 2.4 WGET_URL="http://xmlsoft.org/sources/$TARBALL" 2.5 TARBALL_SHA1="66bcefd98a6b7573427cf66f9d3841b59eb5b8c3" 2.6 2.7 -BUILD_DEPENDS="zlib-dev xz-dev python3-dev ncurses-dev readline-dev" 2.8 -SPLIT="$PACKAGE-tools $PACKAGE-python $PACKAGE-dev" 2.9 +BUILD_DEPENDS="zlib-dev xz-dev python3-dev python-dev ncurses-dev readline-dev" 2.10 +SPLIT="$PACKAGE-tools $PACKAGE-python $PACKAGE-python3 $PACKAGE-dev" 2.11 2.12 COPY_std="libxml2.so*" 2.13 COPY_tools="xmllint xmlcatalog" 2.14 -COPY_python="site-packages/*.py libxml2mod.so" 2.15 +COPY_python="python2.*/site-packages/*.py python2.*/site-packages/*.so" 2.16 +COPY_python3="python3.*/site-packages/*.py python3.*/site-packages/*.so" 2.17 COPY_dev="@dev *.sh" 2.18 2.19 DEPENDS_std="liblzma zlib" 2.20 DEPENDS_tools="$PACKAGE readline" 2.21 -DEPENDS_python="$PACKAGE python3" # libxslt 2.22 +DEPENDS_python="$PACKAGE python" # libxslt 2.23 +DEPENDS_python3="$PACKAGE python3" # libxslt 2.24 DEPENDS_dev="xz-dev zlib-dev $PACKAGE-tools" 2.25 2.26 CAT_tools="system-tools|utilities" 2.27 @@ -41,5 +43,14 @@ 2.28 make && 2.29 make install || return 1 2.30 2.31 + ./configure \ 2.32 + --disable-static \ 2.33 + --with-history \ 2.34 + --with-python=/usr/bin/python2 \ 2.35 + $CONFIGURE_ARGS && 2.36 + fix libtool && 2.37 + make && 2.38 + make install || return 1 2.39 + 2.40 find $install -name '*.sh' -exec chmod +x '{}' \; 2.41 }