Annotation of /trunk/extras/xerces-c/xerces-c-2.8.0-r1.smage2
Parent Directory | Revision Log
Revision 2 -
(hide annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1182 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1182 byte(s)
import repo
1 | niro | 2 | # $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 | SRC_URI=( | ||
19 | http://apache.mirror.clusters.cc/xerces/c/sources/${SRCFILE} | ||
20 | mirror://${PNAME}/${SRCFILE} | ||
21 | mirror://${PNAME}/${PNAME}-${PVER}-multilib.patch | ||
22 | mirror://${PNAME}/${PNAME}-${PVER}-libpath.patch | ||
23 | ) | ||
24 | |||
25 | src_prepare() | ||
26 | { | ||
27 | munpack ${SRCFILE} || die | ||
28 | cd ${SRCDIR} | ||
29 | |||
30 | # multilib fixes | ||
31 | mpatch ${PNAME}-${PVER}-multilib.patch || die | ||
32 | mpatch ${PNAME}-${PVER}-libpath.patch || die | ||
33 | } | ||
34 | |||
35 | src_compile() | ||
36 | { | ||
37 | cd ${SRCDIR}/src/xercesc | ||
38 | export XERCESCROOT=${SRCDIR} | ||
39 | |||
40 | runConfigure -plinux -P/usr || die | ||
41 | mmake -j1 || die | ||
42 | } | ||
43 | |||
44 | src_install() | ||
45 | { | ||
46 | cd ${SRCDIR}/src/xercesc | ||
47 | export XERCESCROOT=${SRCDIR} | ||
48 | |||
49 | mmake DESTDIR=${BINDIR} MLIBDIR=$(mlibdir) install || die | ||
50 | |||
51 | cd ${SRCDIR} | ||
52 | minstalldocs KEYS LICENCE* NOTICE STATUS Readme* || die | ||
53 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |