wok diff xalan-c/receipt @ rev 24211
created recipe for perl-file-rsync
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 16:00:22 2021 +0100 (2021-12-31) |
parents | eb8067417980 |
children | 535c806240cc |
line diff
1.1 --- a/xalan-c/receipt Sat Nov 30 10:06:29 2013 +0000 1.2 +++ b/xalan-c/receipt Fri Dec 31 16:00:22 2021 +0100 1.3 @@ -1,32 +1,36 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="xalan-c" 1.7 -VERSION="1.10.0-r705082" 1.8 +VERSION="1.11" 1.9 CATEGORY="development" 1.10 SHORT_DESC="An XSLT processor for transforming XML documents into HTML, text, or other XML document types." 1.11 MAINTAINER="rcx@zoominternet.net" 1.12 LICENSE="Apache" 1.13 -TARBALL="Xalan-C_r705082-src.tar.gz" 1.14 WEB_SITE="http://xalan.apache.org/" 1.15 -# Need to use the patched r705082 version on Gentoo's mirrors 1.16 -# Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL" 1.17 -WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL" 1.18 1.19 -DEPENDS="glibc-base gcc-lib-base xerces-c libcurl libcrypto icu" 1.20 +TARBALL="${PACKAGE/-/_}-$VERSION-src.tar.gz" 1.21 +WGET_URL="http://archive.apache.org/dist/xalan/$PACKAGE/sources/$TARBALL" 1.22 + 1.23 +DEPENDS="gcc-lib-base glibc-base icu libcrypto libcurl xerces-c" 1.24 BUILD_DEPENDS="xerces-c-dev" 1.25 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 { 1.29 - cd $src 1.30 mv c/* . && rm -r c 1.31 - sed -i 's/mutable MemoryManager/MemoryManager/' src/xalanc/*/*.hpp 1.32 - 1.33 + sed -i 's|mutable MemoryManager|MemoryManager|' \ 1.34 + src/xalanc/*/*.hpp 1.35 + 1.36 export XERCESCROOT=/usr 1.37 export XALANCROOT=$src 1.38 - 1.39 - ./runConfigure -p linux -c gcc -x g++ -P /usr \ 1.40 - -C --build=$HOST_SYSTEM -C --host=$HOST_SYSTEM && 1.41 + 1.42 + ./runConfigure \ 1.43 + -p linux \ 1.44 + -c gcc \ 1.45 + -x g++ \ 1.46 + -P /usr \ 1.47 + -C --build=$HOST_SYSTEM \ 1.48 + -C --host=$HOST_SYSTEM && 1.49 make -j1 && 1.50 make install 1.51 } 1.52 @@ -35,6 +39,7 @@ 1.53 genpkg_rules() 1.54 { 1.55 mkdir -p $fs/usr/lib 1.56 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.57 - cp -a $install/usr/bin $fs/usr 1.58 + 1.59 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.60 + cp -a $install/usr/bin $fs/usr 1.61 }