wok-6.x view xalan-c/receipt @ rev 9345

xfsprogs: fix conpile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 18:21:21 2011 +0100 (2011-03-19)
parents ca1615e2cdc4
children 0e59484220c7
line source
1 # SliTaz package receipt.
3 PACKAGE="xalan-c"
4 VERSION="1.10.0-r705082"
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 DEPENDS="glibc-base gcc-lib-base xerces-c libcurl libcrypto icu"
9 TARBALL="Xalan-C_r705082-src.tar.gz"
10 WEB_SITE="http://xalan.apache.org/"
11 # Need to use the patched r705082 version on Gentoo's mirrors
12 # Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL"
13 WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 mv c/* . && rm -r c
21 export XERCESCROOT=/usr
22 export XALANCROOT=$src
24 ./runConfigure -p linux -c gcc -x g++ -P /usr \
25 -C --build=$BUILD_HOST -C --host=$BUILD_HOST &&
26 make -j1 &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/bin $fs/usr
37 }