Magellan Linux

Annotation of /trunk/extras/xalan-c/xalan-c-1.10.0-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2102 - (hide annotations) (download)
Thu Jun 18 22:17:21 2009 UTC (14 years, 11 months ago) by niro
File size: 1111 byte(s)
auto added: ver bump to 1.10.0-r4
1 niro 2102 # $Id$
2    
3     PNAME="xalan-c"
4     PVER="1.10.0"
5     PBUILD="r4"
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     mirror://${PNAME}/${SRCFILE}
23     )
24    
25     UP2DATE="updatecmd http://www.apache.org/dist/xml/${PNAME}/source/ | sed -n -e 's/.*Xalan-C_\(.*\)-src.*/\1/;$ p' | sed 's:_:.:g'"
26    
27     src_compile()
28     {
29     cd ${SRCDIR}/c || die
30    
31     export XERCESCROOT=/usr/include/xercesc || die
32     export XALANCROOT=${SRCDIR}/c || die
33    
34     ./runConfigure -plinux -P/usr -C --libdir=/usr/$(mlibdir) || die
35     mmake -j1 || die
36     }
37    
38     src_install()
39     {
40     cd ${SRCDIR}/c || die
41    
42     export XERCESCROOT=/usr/include/xercesc || die
43     export XALANCROOT=${SRCDIR}/c || die
44    
45    
46     mmake DESTDIR=${BINDIR} install || die
47    
48     # a little bit "hacky"
49     cd ${SRCDIR}
50     minstalldocs c/{KEYS,LICENSE,NOTICE,README,readme.html} || die
51     }

Properties

Name Value
svn:keywords Id