wok-current annotate xalan-c/receipt @ rev 24354
created recipe for py3k-dbus-1.2.18
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 03 15:11:19 2022 +0100 (2022-02-03) |
parents | eb8067417980 |
children | 535c806240cc |
rev | line source |
---|---|
rcx@3472 | 1 # SliTaz package receipt. |
rcx@3472 | 2 |
rcx@3472 | 3 PACKAGE="xalan-c" |
Hans-G?nter@22147 | 4 VERSION="1.11" |
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" |
rcx@3472 | 9 WEB_SITE="http://xalan.apache.org/" |
rcx@3472 | 10 |
Hans-G?nter@22147 | 11 TARBALL="${PACKAGE/-/_}-$VERSION-src.tar.gz" |
Hans-G?nter@22147 | 12 WGET_URL="http://archive.apache.org/dist/xalan/$PACKAGE/sources/$TARBALL" |
Hans-G?nter@22147 | 13 |
Hans-G?nter@22147 | 14 DEPENDS="gcc-lib-base glibc-base icu libcrypto libcurl xerces-c" |
pascal@10456 | 15 BUILD_DEPENDS="xerces-c-dev" |
pascal@10456 | 16 |
rcx@3472 | 17 # Rules to configure and make the package. |
rcx@3472 | 18 compile_rules() |
rcx@3472 | 19 { |
gokhlayeh@8228 | 20 mv c/* . && rm -r c |
Hans-G?nter@22147 | 21 sed -i 's|mutable MemoryManager|MemoryManager|' \ |
Hans-G?nter@22147 | 22 src/xalanc/*/*.hpp |
Hans-G?nter@22147 | 23 |
rcx@3472 | 24 export XERCESCROOT=/usr |
rcx@3472 | 25 export XALANCROOT=$src |
Hans-G?nter@22147 | 26 |
Hans-G?nter@22147 | 27 ./runConfigure \ |
Hans-G?nter@22147 | 28 -p linux \ |
Hans-G?nter@22147 | 29 -c gcc \ |
Hans-G?nter@22147 | 30 -x g++ \ |
Hans-G?nter@22147 | 31 -P /usr \ |
Hans-G?nter@22147 | 32 -C --build=$HOST_SYSTEM \ |
Hans-G?nter@22147 | 33 -C --host=$HOST_SYSTEM && |
gokhlayeh@8263 | 34 make -j1 && |
gokhlayeh@8228 | 35 make install |
rcx@3472 | 36 } |
rcx@3472 | 37 |
rcx@3472 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3472 | 39 genpkg_rules() |
rcx@3472 | 40 { |
rcx@3472 | 41 mkdir -p $fs/usr/lib |
Hans-G?nter@22147 | 42 |
Hans-G?nter@22147 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22147 | 44 cp -a $install/usr/bin $fs/usr |
rcx@3472 | 45 } |