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