wok annotate xalan-c/receipt @ rev 25603

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 18 11:43:32 2023 +0000 (16 months ago)
parents 272cacdf0c0a
children
rev   line source
rcx@3472 1 # SliTaz package receipt.
rcx@3472 2
rcx@3472 3 PACKAGE="xalan-c"
Hans-G?nter@25426 4 VERSION="1.12.0"
rcx@3472 5 CATEGORY="development"
rcx@3472 6 SHORT_DESC="An XSLT processor for transforming XML documents into HTML, text, or other XML document types."
rcx@3472 7 MAINTAINER="rcx@zoominternet.net"
pascal@15579 8 LICENSE="Apache"
pascal@24746 9 WEB_SITE="https://xalan.apache.org/"
rcx@3472 10
Hans-G?nter@25426 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@25426 12 WGET_URL="https://github.com/apache/$PACKAGE/archive/refs/tags/Xalan-C_${VERSION//./_}.tar.gz"
Hans-G?nter@22147 13
Hans-G?nter@22147 14 DEPENDS="gcc-lib-base glibc-base icu libcrypto libcurl xerces-c"
Hans-G?nter@25426 15 BUILD_DEPENDS="cmake xerces-c-dev"
pascal@10456 16
pascal@24465 17 # What is the latest version available today?
pascal@24465 18 current_version()
pascal@24465 19 {
pascal@25603 20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@25603 21 sed '/tag\//!d;s|.*tag/[A-Za-z_-]*||;s|".*||;s|_|.|g;q'
pascal@24465 22 }
pascal@24465 23
rcx@3472 24 # Rules to configure and make the package.
rcx@3472 25 compile_rules()
rcx@3472 26 {
Hans-G?nter@25426 27 # mv c/* . && rm -r c
Hans-G?nter@25426 28 # sed -i 's|mutable MemoryManager|MemoryManager|' \
Hans-G?nter@25426 29 # src/xalanc/*/*.hpp
Hans-G?nter@22147 30
rcx@3472 31 export XERCESCROOT=/usr
rcx@3472 32 export XALANCROOT=$src
Hans-G?nter@22147 33
Hans-G?nter@25426 34 mkdir _build &&
Hans-G?nter@25426 35 cd _build &&
Hans-G?nter@25426 36 cmake .. \
Hans-G?nter@25426 37 -D CMAKE_INSTALL_PREFIX=/usr &&
Hans-G?nter@25426 38 make &&
gokhlayeh@8228 39 make install
rcx@3472 40 }
rcx@3472 41
rcx@3472 42 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3472 43 genpkg_rules()
rcx@3472 44 {
Hans-G?nter@25426 45 cook_copy_folders bin
Hans-G?nter@25426 46 cook_copy_files *.so*
rcx@3472 47 }