Contents of /trunk/extras/xerces-c/xerces-c-2.8.0-r1.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: 1330 byte(s)
Thu Jul 9 19:08:40 2009 UTC (15 years, 2 months ago) by niro
File size: 1330 byte(s)
-added todo
1 | # $Header: /magellan-cvs/smage/xerces-c/xerces-c-2.8.0-r1.smage2,v 1.3 2008/03/27 13:24:01 niro Exp $ |
2 | |
3 | PNAME="xerces-c" |
4 | PVER="2.8.0" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="dev-util" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Xerces-C++ is a validating XML parser written in a portable subset of C++." |
11 | HOMEPAGE="http://xml.apache.org/xerces-c/" |
12 | |
13 | SRCFILE="${PNAME}-src_$(echo ${PVER} | sed "s:\.:_:g").tar.gz" |
14 | SRCDIR="${BUILDDIR}/${PNAME}-src_$(echo ${PVER} | sed "s:\.:_:g")" |
15 | |
16 | sminclude mbuild |
17 | |
18 | UP2DATE="updatecmd http://www.apache.org/dist/xerces/c/2/sources/ | grep ${PNAME}-src | sed 's/.*${PNAME}-src_\(.*\).tar.*/\1/;q' | sed 's:_:.:g'" |
19 | |
20 | SRC_URI=( |
21 | http://apache.mirror.clusters.cc/xerces/c/sources/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${PNAME}-${PVER}-multilib.patch |
24 | mirror://${PNAME}/${PNAME}-${PVER}-libpath.patch |
25 | ) |
26 | |
27 | src_prepare() |
28 | { |
29 | munpack ${SRCFILE} || die |
30 | cd ${SRCDIR} |
31 | |
32 | # multilib fixes |
33 | mpatch ${PNAME}-${PVER}-multilib.patch || die |
34 | mpatch ${PNAME}-${PVER}-libpath.patch || die |
35 | } |
36 | |
37 | src_compile() |
38 | { |
39 | cd ${SRCDIR}/src/xercesc |
40 | export XERCESCROOT=${SRCDIR} |
41 | |
42 | runConfigure -plinux -P/usr || die |
43 | mmake -j1 || die |
44 | } |
45 | |
46 | src_install() |
47 | { |
48 | cd ${SRCDIR}/src/xercesc |
49 | export XERCESCROOT=${SRCDIR} |
50 | |
51 | mmake DESTDIR=${BINDIR} MLIBDIR=$(mlibdir) install || die |
52 | |
53 | cd ${SRCDIR} |
54 | minstalldocs KEYS LICENCE* NOTICE STATUS Readme* || die |
55 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |