wok rev 22147

updated xalan-c and xalan-c-dev (1.10.0 -> 1.11)
author Hans-G?nter Theisgen
date Wed Nov 06 16:26:14 2019 +0100 (11 months ago)
parents b8d2de155dde
children ab73a80ed2b7
files xalan-c-dev/receipt xalan-c/receipt
line diff
     1.1 --- a/xalan-c-dev/receipt	Wed Nov 06 15:54:54 2019 +0100
     1.2 +++ b/xalan-c-dev/receipt	Wed Nov 06 16:26:14 2019 +0100
     1.3 @@ -1,12 +1,13 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xalan-c-dev"
     1.7 -VERSION="1.10.0-r705082"
     1.8 +VERSION="1.11"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="xalan-c devel files."
    1.11 -WEB_SITE="http://xalan.apache.org/"
    1.12 +SHORT_DESC="Xalan-c - development files."
    1.13  MAINTAINER="rcx@zoominternet.net"
    1.14  LICENSE="Apache"
    1.15 +WEB_SITE="http://xalan.apache.org/"
    1.16 +
    1.17  WANTED="xalan-c"
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/xalan-c/receipt	Wed Nov 06 15:54:54 2019 +0100
     2.2 +++ b/xalan-c/receipt	Wed Nov 06 16:26:14 2019 +0100
     2.3 @@ -1,32 +1,36 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="xalan-c"
     2.7 -VERSION="1.10.0-r705082"
     2.8 +VERSION="1.11"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="An XSLT processor for transforming XML documents into HTML, text, or other XML document types."
    2.11  MAINTAINER="rcx@zoominternet.net"
    2.12  LICENSE="Apache"
    2.13 -TARBALL="Xalan-C_r705082-src.tar.gz"
    2.14  WEB_SITE="http://xalan.apache.org/"
    2.15 -# Need to use the patched r705082 version on Gentoo's mirrors
    2.16 -# Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL"
    2.17 -WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL"
    2.18  
    2.19 -DEPENDS="glibc-base gcc-lib-base xerces-c libcurl libcrypto icu"
    2.20 +TARBALL="${PACKAGE/-/_}-$VERSION-src.tar.gz"
    2.21 +WGET_URL="http://archive.apache.org/dist/xalan/$PACKAGE/sources/$TARBALL"
    2.22 +
    2.23 +DEPENDS="gcc-lib-base glibc-base icu libcrypto libcurl xerces-c"
    2.24  BUILD_DEPENDS="xerces-c-dev"
    2.25  
    2.26  # Rules to configure and make the package.
    2.27  compile_rules()
    2.28  {
    2.29 -	cd $src
    2.30  	mv c/* . && rm -r c
    2.31 -	sed -i 's/mutable MemoryManager/MemoryManager/' src/xalanc/*/*.hpp
    2.32 -	
    2.33 +	sed -i 's|mutable MemoryManager|MemoryManager|' \
    2.34 +		src/xalanc/*/*.hpp
    2.35 +
    2.36  	export XERCESCROOT=/usr
    2.37  	export XALANCROOT=$src
    2.38 -	
    2.39 -	./runConfigure -p linux -c gcc -x g++ -P /usr \
    2.40 -		-C --build=$HOST_SYSTEM -C --host=$HOST_SYSTEM &&
    2.41 +
    2.42 +	./runConfigure			\
    2.43 +		-p linux		\
    2.44 +		-c gcc			\
    2.45 +		-x g++			\
    2.46 +		-P /usr			\
    2.47 +		-C --build=$HOST_SYSTEM	\
    2.48 +		-C --host=$HOST_SYSTEM &&
    2.49  	make -j1 &&
    2.50  	make install
    2.51  }
    2.52 @@ -35,6 +39,7 @@
    2.53  genpkg_rules()
    2.54  {
    2.55  	mkdir -p $fs/usr/lib
    2.56 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.57 -	cp -a $install/usr/bin $fs/usr
    2.58 +
    2.59 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.60 +	cp -a $install/usr/bin		$fs/usr
    2.61  }