Contents of /trunk/extras/xalan-c/xalan-c-1.10.0-r3.smage2
Parent Directory | Revision Log
Revision 2166 -
(show annotations)
(download)
Thu Jul 9 19:08:40 2009 UTC (15 years, 2 months ago) by niro
File size: 1261 byte(s)
Thu Jul 9 19:08:40 2009 UTC (15 years, 2 months ago) by niro
File size: 1261 byte(s)
-added todo
1 | # $Header: /magellan-cvs/smage/xalan-c/xalan-c-1.10.0-r3.smage2,v 1.1 2008/03/27 13:30:13 niro Exp $ |
2 | |
3 | PNAME="xalan-c" |
4 | PVER="1.10.0" |
5 | PBUILD="r3" |
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 | sminclude mbuild |
19 | |
20 | SRC_URI=( |
21 | http://www.apache.org/dist/xml/${PNAME}/${SRCFILE} |
22 | http://apache.linux-mirror.org/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 -plinux -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 | |
47 | mmake DESTDIR=${BINDIR} install || die |
48 | |
49 | # a little bit "hacky" |
50 | cd ${SRCDIR} |
51 | minstalldocs c/{KEYS,LICENSE,NOTICE,README,readme.html} || die |
52 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |