Contents of /branches/branch-xorg18/extras/xalan-c/xalan-c-1.10.0-r5.smage2
Parent Directory | Revision Log
Revision 5192 -
(show annotations)
(download)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 1296 byte(s)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 1296 byte(s)
created branch 'branch-xorg18'
1 | # $Id$ |
2 | |
3 | PNAME="xalan-c" |
4 | PVER="1.10.0" |
5 | PBUILD="r5" |
6 | |
7 | PCATEGORIE="dev-util" |
8 | STATE="unstable" |
9 | |
10 | DEPEND=">= dev-util/xerces-c-2" |
11 | |
12 | DESCRIPTION="Xalan is an XSLT processor for transforming XML documents into HTML, text, or other XML document types." |
13 | HOMEPAGE="http://xml.apache.org/xalan-c/" |
14 | |
15 | SRCFILE="Xalan-C_$(echo ${PVER} | sed "s:\.:_:g")-src.tar.gz" |
16 | SRCDIR="${BUILDDIR}/xml-xalan" |
17 | |
18 | SRC_URI=( |
19 | http://www.apache.org/dist/xml/${PNAME}/${SRCFILE} |
20 | mirror://${PNAME}/${SRCFILE} |
21 | mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch |
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_prepare() |
27 | { |
28 | munpack ${SRCFILE} || die |
29 | cd ${SRCDIR} |
30 | |
31 | # gcc43 compilation fix, adding missing includes |
32 | mpatch ${PNAME}-${PVER}-gcc43.patch || die |
33 | } |
34 | |
35 | src_compile() |
36 | { |
37 | cd ${SRCDIR}/c || die |
38 | |
39 | export XERCESCROOT=/usr/include/xercesc || die |
40 | export XALANCROOT=${SRCDIR}/c || die |
41 | |
42 | ./runConfigure -plinux -P/usr -C --libdir=/usr/$(mlibdir) || die |
43 | mmake -j1 || die |
44 | } |
45 | |
46 | src_install() |
47 | { |
48 | cd ${SRCDIR}/c || die |
49 | |
50 | export XERCESCROOT=/usr/include/xercesc || die |
51 | export XALANCROOT=${SRCDIR}/c || die |
52 | |
53 | |
54 | mmake DESTDIR=${BINDIR} install || die |
55 | |
56 | # a little bit "hacky" |
57 | cd ${SRCDIR} |
58 | minstalldocs c/{KEYS,LICENSE,NOTICE,README,readme.html} || die |
59 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |