wok diff xalan-c/receipt @ rev 25502

Up memtest-efi* (6.01)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 15 09:58:15 2023 +0000 (17 months ago)
parents cb67b4f8be05
children 5db546345599
line diff
     1.1 --- a/xalan-c/receipt	Wed Mar 16 11:02:39 2022 +0000
     1.2 +++ b/xalan-c/receipt	Sun Jan 15 09:58:15 2023 +0000
     1.3 @@ -1,18 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xalan-c"
     1.7 -VERSION="1.11"
     1.8 +VERSION="1.12.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="An XSLT processor for transforming XML documents into HTML, text, or other XML document types."
    1.11  MAINTAINER="rcx@zoominternet.net"
    1.12  LICENSE="Apache"
    1.13  WEB_SITE="https://xalan.apache.org/"
    1.14  
    1.15 -TARBALL="${PACKAGE/-/_}-$VERSION-src.tar.gz"
    1.16 -WGET_URL="http://archive.apache.org/dist/xalan/$PACKAGE/sources/$TARBALL"
    1.17 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 +WGET_URL="https://github.com/apache/$PACKAGE/archive/refs/tags/Xalan-C_${VERSION//./_}.tar.gz"
    1.19  
    1.20  DEPENDS="gcc-lib-base glibc-base icu libcrypto libcurl xerces-c"
    1.21 -BUILD_DEPENDS="xerces-c-dev"
    1.22 +BUILD_DEPENDS="cmake xerces-c-dev"
    1.23  
    1.24  # What is the latest version available today?
    1.25  current_version()
    1.26 @@ -24,29 +24,24 @@
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	mv c/* . && rm -r c
    1.31 -	sed -i 's|mutable MemoryManager|MemoryManager|' \
    1.32 -		src/xalanc/*/*.hpp
    1.33 +#	mv c/* . && rm -r c
    1.34 +#	sed -i 's|mutable MemoryManager|MemoryManager|' \
    1.35 +#		src/xalanc/*/*.hpp
    1.36  
    1.37  	export XERCESCROOT=/usr
    1.38  	export XALANCROOT=$src
    1.39  
    1.40 -	./runConfigure			\
    1.41 -		-p linux		\
    1.42 -		-c gcc			\
    1.43 -		-x g++			\
    1.44 -		-P /usr			\
    1.45 -		-C --build=$HOST_SYSTEM	\
    1.46 -		-C --host=$HOST_SYSTEM &&
    1.47 -	make -j1 &&
    1.48 +	mkdir	_build &&
    1.49 +	cd	_build &&
    1.50 +	cmake	..			\
    1.51 +		-D CMAKE_INSTALL_PREFIX=/usr &&
    1.52 +	make &&
    1.53  	make install
    1.54  }
    1.55  
    1.56  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.57  genpkg_rules()
    1.58  {
    1.59 -	mkdir -p $fs/usr/lib
    1.60 -
    1.61 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.62 -	cp -a $install/usr/bin		$fs/usr
    1.63 +	cook_copy_folders	bin
    1.64 +	cook_copy_files		*.so*
    1.65  }