wok view xalan-c/receipt @ rev 11339
libpng: Make sure $PATCH is in $SOURCES_REPOSITORY.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Nov 26 03:56:37 2011 +0000 (2011-11-26) |
parents | 0e59484220c7 |
children | 4f158dc150af |
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 TARBALL="Xalan-C_r705082-src.tar.gz"
9 WEB_SITE="http://xalan.apache.org/"
10 # Need to use the patched r705082 version on Gentoo's mirrors
11 # Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL"
12 WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL"
14 DEPENDS="glibc-base gcc-lib-base xerces-c libcurl libcrypto icu"
15 BUILD_DEPENDS="xerces-c-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 mv c/* . && rm -r c
23 export XERCESCROOT=/usr
24 export XALANCROOT=$src
26 ./runConfigure -p linux -c gcc -x g++ -P /usr \
27 -C --build=$HOST_SYSTEM -C --host=$HOST_SYSTEM &&
28 make -j1 &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 cp -a $_pkg/usr/bin $fs/usr
39 }