wok-next annotate xalan-c/receipt @ rev 14830

Up: xfdesktop* (4.10.0)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Jul 17 13:54:38 2013 +0200 (2013-07-17)
parents 6515656d7476
children eb8067417980
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"
rcx@3472 8 TARBALL="Xalan-C_r705082-src.tar.gz"
rcx@3472 9 WEB_SITE="http://xalan.apache.org/"
rcx@3472 10 # Need to use the patched r705082 version on Gentoo's mirrors
rcx@3472 11 # Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL"
rcx@3472 12 WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL"
rcx@3472 13
pascal@10456 14 DEPENDS="glibc-base gcc-lib-base xerces-c libcurl libcrypto icu"
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 {
rcx@3472 20 cd $src
gokhlayeh@8228 21 mv c/* . && rm -r c
pascal@13020 22 sed -i 's/mutable MemoryManager/MemoryManager/' src/xalanc/*/*.hpp
rcx@3472 23
rcx@3472 24 export XERCESCROOT=/usr
rcx@3472 25 export XALANCROOT=$src
rcx@3472 26
rcx@3472 27 ./runConfigure -p linux -c gcc -x g++ -P /usr \
slaxemulator@10424 28 -C --build=$HOST_SYSTEM -C --host=$HOST_SYSTEM &&
gokhlayeh@8263 29 make -j1 &&
gokhlayeh@8228 30 make install
rcx@3472 31 }
rcx@3472 32
rcx@3472 33 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3472 34 genpkg_rules()
rcx@3472 35 {
rcx@3472 36 mkdir -p $fs/usr/lib
rcx@3472 37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
rcx@3472 38
rcx@3472 39 cp -a $_pkg/usr/bin $fs/usr
rcx@3472 40 }