wok-6.x rev 25426

updated xalan-c and xalan-c-dev (1.11 -> 1.12.0)
author Hans-G?nter Theisgen
date Thu Aug 18 16:42:41 2022 +0100 (2022-08-18)
parents f96349892d0a
children dc7cc1411708
files xalan-c-dev/receipt xalan-c/description.txt xalan-c/receipt
line diff
     1.1 --- a/xalan-c-dev/receipt	Thu Aug 18 16:31:57 2022 +0100
     1.2 +++ b/xalan-c-dev/receipt	Thu Aug 18 16:42:41 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xalan-c-dev"
     1.7 -VERSION="1.11"
     1.8 +VERSION="1.12.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Xalan-c - development files."
    1.11  MAINTAINER="rcx@zoominternet.net"
    1.12 @@ -13,6 +13,5 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	mkdir -p $fs/usr
    1.17 -	cp -a $install/usr/include $fs/usr
    1.18 +	cook_copy_folders	include
    1.19  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/xalan-c/description.txt	Thu Aug 18 16:42:41 2022 +0100
     2.3 @@ -0,0 +1,4 @@
     2.4 +The Apache Xalan-C++ Project provides a library and a command line program
     2.5 +to transform XML documents using a stylesheet that conforms to XSLT 1.0 standards.
     2.6 +
     2.7 +Xalan is a project of the Apache Software Foundation.
     3.1 --- a/xalan-c/receipt	Thu Aug 18 16:31:57 2022 +0100
     3.2 +++ b/xalan-c/receipt	Thu Aug 18 16:42:41 2022 +0100
     3.3 @@ -1,18 +1,18 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="xalan-c"
     3.7 -VERSION="1.11"
     3.8 +VERSION="1.12.0"
     3.9  CATEGORY="development"
    3.10  SHORT_DESC="An XSLT processor for transforming XML documents into HTML, text, or other XML document types."
    3.11  MAINTAINER="rcx@zoominternet.net"
    3.12  LICENSE="Apache"
    3.13  WEB_SITE="https://xalan.apache.org/"
    3.14  
    3.15 -TARBALL="${PACKAGE/-/_}-$VERSION-src.tar.gz"
    3.16 -WGET_URL="http://archive.apache.org/dist/xalan/$PACKAGE/sources/$TARBALL"
    3.17 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.18 +WGET_URL="https://github.com/apache/$PACKAGE/archive/refs/tags/Xalan-C_${VERSION//./_}.tar.gz"
    3.19  
    3.20  DEPENDS="gcc-lib-base glibc-base icu libcrypto libcurl xerces-c"
    3.21 -BUILD_DEPENDS="xerces-c-dev"
    3.22 +BUILD_DEPENDS="cmake xerces-c-dev"
    3.23  
    3.24  # What is the latest version available today?
    3.25  current_version()
    3.26 @@ -24,29 +24,24 @@
    3.27  # Rules to configure and make the package.
    3.28  compile_rules()
    3.29  {
    3.30 -	mv c/* . && rm -r c
    3.31 -	sed -i 's|mutable MemoryManager|MemoryManager|' \
    3.32 -		src/xalanc/*/*.hpp
    3.33 +#	mv c/* . && rm -r c
    3.34 +#	sed -i 's|mutable MemoryManager|MemoryManager|' \
    3.35 +#		src/xalanc/*/*.hpp
    3.36  
    3.37  	export XERCESCROOT=/usr
    3.38  	export XALANCROOT=$src
    3.39  
    3.40 -	./runConfigure			\
    3.41 -		-p linux		\
    3.42 -		-c gcc			\
    3.43 -		-x g++			\
    3.44 -		-P /usr			\
    3.45 -		-C --build=$HOST_SYSTEM	\
    3.46 -		-C --host=$HOST_SYSTEM &&
    3.47 -	make -j1 &&
    3.48 +	mkdir	_build &&
    3.49 +	cd	_build &&
    3.50 +	cmake	..			\
    3.51 +		-D CMAKE_INSTALL_PREFIX=/usr &&
    3.52 +	make &&
    3.53  	make install
    3.54  }
    3.55  
    3.56  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.57  genpkg_rules()
    3.58  {
    3.59 -	mkdir -p $fs/usr/lib
    3.60 -
    3.61 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    3.62 -	cp -a $install/usr/bin		$fs/usr
    3.63 +	cook_copy_folders	bin
    3.64 +	cook_copy_files		*.so*
    3.65  }