wok view xalan-c/receipt @ rev 12540

Add pcre-dev to glib-dev deps
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 26 03:06:29 2012 +0200 (2012-04-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 }