wok-next diff xalan-c/receipt @ rev 20634
oxine: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 27 12:51:30 2018 +0200 (2018-04-27) |
parents | 6477d7f70481 |
children | d5aab818505e |
line diff
1.1 --- a/xalan-c/receipt Wed Mar 21 16:15:19 2018 +0200 1.2 +++ b/xalan-c/receipt Fri Apr 27 12:51:30 2018 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="xalan-c" 1.7 -VERSION="1.10.0-r705082" 1.8 +VERSION="1.11" 1.9 CATEGORY="development" 1.10 SHORT_DESC="An XSLT processor for transforming XML documents into HTML, text, \ 1.11 or other XML document types" 1.12 @@ -9,22 +9,16 @@ 1.13 LICENSE="Apache" 1.14 WEB_SITE="http://xalan.apache.org/" 1.15 1.16 -TARBALL="Xalan-C_r705082-src.tar.gz" 1.17 -# Need to use the patched r705082 version on Gentoo's mirrors 1.18 -# Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL" 1.19 -WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL" 1.20 +TARBALL="xalan_c-$VERSION-src.tar.gz" 1.21 +WGET_URL="http://www.eu.apache.org/dist/xalan/xalan-c/sources/$TARBALL" 1.22 1.23 BUILD_DEPENDS="xerces-c-dev" 1.24 SPLIT="xalan-c-dev" 1.25 1.26 compile_rules() { 1.27 - fix math 1.28 - mv c/* . && rm -r c 1.29 - sed -i 's/isnan/std::&/' src/xalanc/PlatformSupport/DoubleSupport.hpp 1.30 - sed -i 's/mutable MemoryManager/MemoryManager/' src/xalanc/*/*.hpp 1.31 - 1.32 export XERCESCROOT=/usr 1.33 - export XALANCROOT=$src 1.34 + export XALANCROOT=$src/c 1.35 + cd c 1.36 1.37 ./runConfigure \ 1.38 -p linux \ 1.39 @@ -40,14 +34,11 @@ 1.40 genpkg_rules() { 1.41 case $PACKAGE in 1.42 xalan-c) 1.43 - mkdir -p $fs/usr/lib 1.44 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.45 - cp -a $install/usr/bin $fs/usr 1.46 - DEPENDS="glibc-base gcc-lib-base xerces-c libcurl openssl icu" 1.47 + copy @std 1.48 + DEPENDS="xerces-c" 1.49 ;; 1.50 *-dev) 1.51 - mkdir -p $fs/usr 1.52 - cp -a $install/usr/include $fs/usr 1.53 + copy @dev 1.54 ;; 1.55 esac 1.56 }