wok annotate xalan-c/receipt @ rev 17899

Up: tazpkg (763): fix search.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 03 15:53:11 2015 +0300 (2015-04-03)
parents 4f158dc150af
children 0f28bf6f4a24
rev   line source
rcx@3472 1 # SliTaz package receipt.
rcx@3472 2
rcx@3472 3 PACKAGE="xalan-c"
rcx@3472 4 VERSION="1.10.0-r705082"
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 TARBALL="Xalan-C_r705082-src.tar.gz"
rcx@3472 10 WEB_SITE="http://xalan.apache.org/"
rcx@3472 11 # Need to use the patched r705082 version on Gentoo's mirrors
rcx@3472 12 # Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL"
rcx@3472 13 WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL"
rcx@3472 14
pascal@10456 15 DEPENDS="glibc-base gcc-lib-base xerces-c libcurl libcrypto icu"
pascal@10456 16 BUILD_DEPENDS="xerces-c-dev"
pascal@10456 17
rcx@3472 18 # Rules to configure and make the package.
rcx@3472 19 compile_rules()
rcx@3472 20 {
rcx@3472 21 cd $src
gokhlayeh@8228 22 mv c/* . && rm -r c
pascal@13020 23 sed -i 's/mutable MemoryManager/MemoryManager/' src/xalanc/*/*.hpp
rcx@3472 24
rcx@3472 25 export XERCESCROOT=/usr
rcx@3472 26 export XALANCROOT=$src
rcx@3472 27
rcx@3472 28 ./runConfigure -p linux -c gcc -x g++ -P /usr \
slaxemulator@10424 29 -C --build=$HOST_SYSTEM -C --host=$HOST_SYSTEM &&
gokhlayeh@8263 30 make -j1 &&
gokhlayeh@8228 31 make install
rcx@3472 32 }
rcx@3472 33
rcx@3472 34 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3472 35 genpkg_rules()
rcx@3472 36 {
rcx@3472 37 mkdir -p $fs/usr/lib
pascal@15579 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15579 39 cp -a $install/usr/bin $fs/usr
rcx@3472 40 }