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