Magellan Linux

Contents of /branches/magellan-next/extras/xalan-c/xalan-c-1.11.0_pre797991-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8045 - (show annotations) (download)
Wed Jun 29 13:01:50 2011 UTC (13 years, 2 months ago) by niro
File size: 1064 byte(s)
auto added: ver bump to 1.11.0_pre797991-r2
1 # $Id$
2
3 PNAME="xalan-c"
4 PVER="1.11.0_pre797991"
5 PBUILD="r2"
6
7 PCATEGORIE="dev-util"
8
9 DEPEND=">= dev-util/xerces-c-3.1"
10
11 DESCRIPTION="Xalan is an XSLT processor for transforming XML documents into HTML, text, or other XML document types."
12 HOMEPAGE="http://xml.apache.org/xalan-c/"
13
14 SRCFILE="Xalan-C_r${PVER#*pre}-src.tar.gz"
15 SRCDIR="${BUILDDIR}/xml-xalan"
16
17 sminclude mbuild
18
19 SRC_URI=(
20 http://www.apache.org/dist/xml/${PNAME}/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 )
23
24 UP2DATE="updatecmd http://www.apache.org/dist/xml/${PNAME}/source/ | sed -n -e 's/.*Xalan-C_\(.*\)-src.*/\1/;$ p' | sed 's:_:.:g'"
25
26 src_compile()
27 {
28 cd ${SRCDIR}/c || die
29
30 export XERCESCROOT=/usr/include/xercesc || die
31 export XALANCROOT=${SRCDIR}/c || die
32
33 ./runConfigure -p linux -P /usr -C --libdir=/usr/$(mlibdir) || die
34 mmake -j1 || die
35 }
36
37 src_install()
38 {
39 cd ${SRCDIR}/c || die
40
41 export XERCESCROOT=/usr/include/xercesc || die
42 export XALANCROOT=${SRCDIR}/c || die
43
44 mmake DESTDIR=${BINDIR} install || die
45
46 cd ${SRCDIR}
47 minstalldocs c/{KEYS,LICENSE,NOTICE,README,readme.html} || die
48 }