wok-current view xalan-c/receipt @ rev 24009

linux-zram: typo (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 29 17:07:10 2021 +0000 (2021-01-29)
parents eb8067417980
children 535c806240cc
line source
1 # SliTaz package receipt.
3 PACKAGE="xalan-c"
4 VERSION="1.11"
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="http://xalan.apache.org/"
11 TARBALL="${PACKAGE/-/_}-$VERSION-src.tar.gz"
12 WGET_URL="http://archive.apache.org/dist/xalan/$PACKAGE/sources/$TARBALL"
14 DEPENDS="gcc-lib-base glibc-base icu libcrypto libcurl xerces-c"
15 BUILD_DEPENDS="xerces-c-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mv c/* . && rm -r c
21 sed -i 's|mutable MemoryManager|MemoryManager|' \
22 src/xalanc/*/*.hpp
24 export XERCESCROOT=/usr
25 export XALANCROOT=$src
27 ./runConfigure \
28 -p linux \
29 -c gcc \
30 -x g++ \
31 -P /usr \
32 -C --build=$HOST_SYSTEM \
33 -C --host=$HOST_SYSTEM &&
34 make -j1 &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/bin $fs/usr
45 }