wok-stable view xalan-c/receipt @ rev 8983
Up: mercurial to 1.8.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Mar 02 15:39:38 2011 +0000 (2011-03-02) |
parents | 5bebc54eaff7 |
children | 3e5f4a16c6dd |
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 BUILD_DEPENDS="slitaz-toolchain xerces-c xerces-c-dev"
10 TARBALL="Xalan-C_r705082-src.tar.gz"
11 WEB_SITE="http://xalan.apache.org/"
12 # Need to use the patched r705082 version on Gentoo's mirrors
13 # Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL"
14 WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 mv c/* . && rm -r c
22 export XERCESCROOT=/usr
23 export XALANCROOT=$src
25 ./runConfigure -p linux -c gcc -x g++ -P /usr \
26 -C --build=$BUILD_HOST -C --host=$BUILD_HOST &&
27 make -j1 &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/bin $fs/usr
38 }