# HG changeset patch # User Hans-G?nter Theisgen # Date 1660837361 -3600 # Node ID 272cacdf0c0a603733093ad6d130f5bbd2490953 # Parent f96349892d0a5494cc5913d25cbcab4dec9c5047 updated xalan-c and xalan-c-dev (1.11 -> 1.12.0) diff -r f96349892d0a -r 272cacdf0c0a xalan-c-dev/receipt --- a/xalan-c-dev/receipt Thu Aug 18 16:31:57 2022 +0100 +++ b/xalan-c-dev/receipt Thu Aug 18 16:42:41 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="xalan-c-dev" -VERSION="1.11" +VERSION="1.12.0" CATEGORY="development" SHORT_DESC="Xalan-c - development files." MAINTAINER="rcx@zoominternet.net" @@ -13,6 +13,5 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/include $fs/usr + cook_copy_folders include } diff -r f96349892d0a -r 272cacdf0c0a xalan-c/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xalan-c/description.txt Thu Aug 18 16:42:41 2022 +0100 @@ -0,0 +1,4 @@ +The Apache Xalan-C++ Project provides a library and a command line program +to transform XML documents using a stylesheet that conforms to XSLT 1.0 standards. + +Xalan is a project of the Apache Software Foundation. diff -r f96349892d0a -r 272cacdf0c0a xalan-c/receipt --- a/xalan-c/receipt Thu Aug 18 16:31:57 2022 +0100 +++ b/xalan-c/receipt Thu Aug 18 16:42:41 2022 +0100 @@ -1,18 +1,18 @@ # SliTaz package receipt. PACKAGE="xalan-c" -VERSION="1.11" +VERSION="1.12.0" CATEGORY="development" SHORT_DESC="An XSLT processor for transforming XML documents into HTML, text, or other XML document types." MAINTAINER="rcx@zoominternet.net" LICENSE="Apache" WEB_SITE="https://xalan.apache.org/" -TARBALL="${PACKAGE/-/_}-$VERSION-src.tar.gz" -WGET_URL="http://archive.apache.org/dist/xalan/$PACKAGE/sources/$TARBALL" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/apache/$PACKAGE/archive/refs/tags/Xalan-C_${VERSION//./_}.tar.gz" DEPENDS="gcc-lib-base glibc-base icu libcrypto libcurl xerces-c" -BUILD_DEPENDS="xerces-c-dev" +BUILD_DEPENDS="cmake xerces-c-dev" # What is the latest version available today? current_version() @@ -24,29 +24,24 @@ # Rules to configure and make the package. compile_rules() { - mv c/* . && rm -r c - sed -i 's|mutable MemoryManager|MemoryManager|' \ - src/xalanc/*/*.hpp +# mv c/* . && rm -r c +# sed -i 's|mutable MemoryManager|MemoryManager|' \ +# src/xalanc/*/*.hpp export XERCESCROOT=/usr export XALANCROOT=$src - ./runConfigure \ - -p linux \ - -c gcc \ - -x g++ \ - -P /usr \ - -C --build=$HOST_SYSTEM \ - -C --host=$HOST_SYSTEM && - make -j1 && + mkdir _build && + cd _build && + cmake .. \ + -D CMAKE_INSTALL_PREFIX=/usr && + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/bin $fs/usr + cook_copy_folders bin + cook_copy_files *.so* }