Magellan Linux

Contents of /trunk/extras/xalan-c/xalan-c-1.10.0-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
File size: 1076 byte(s)
import repo
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://apache.linux-mirror.org/xml/xalan-c/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 src_compile()
26 {
27 cd ${SRCDIR}/c || die
28
29 export XERCESCROOT=/usr/include/xercesc || die
30 export XALANCROOT=${SRCDIR}/c || die
31
32 ./runConfigure -plinux -P/usr -C --libdir=/usr/$(mlibdir) || die
33 mmake -j1 || die
34 }
35
36 src_install()
37 {
38 cd ${SRCDIR}/c || die
39
40 export XERCESCROOT=/usr/include/xercesc || die
41 export XALANCROOT=${SRCDIR}/c || die
42
43
44 mmake DESTDIR=${BINDIR} install || die
45
46 # a little bit "hacky"
47 cd ${SRCDIR}
48 minstalldocs c/{KEYS,LICENSE,NOTICE,README,readme.html} || die
49 }

Properties

Name Value
svn:keywords Id