Contents of /branches/R11-unstable/extras/xerces-c/xerces-c-3.1.1-r4.smage2
Parent Directory | Revision Log
Revision 25875 -
(show annotations)
(download)
Tue Nov 25 04:26:02 2014 UTC (9 years, 10 months ago) by niro
File size: 771 byte(s)
Tue Nov 25 04:26:02 2014 UTC (9 years, 10 months ago) by niro
File size: 771 byte(s)
-release branches/R11-unstable
1 | # $Id$ |
2 | |
3 | PNAME="xerces-c" |
4 | PVER="3.1.1" |
5 | PBUILD="r4" |
6 | |
7 | PCAT="dev-util" |
8 | |
9 | DEPEND=">= sys-libs/libstdc++-4.8" |
10 | |
11 | DESCRIPTION="Xerces-C++ is a validating XML parser written in a portable subset of C++." |
12 | HOMEPAGE="http://xml.apache.org/xerces-c/" |
13 | |
14 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
16 | |
17 | sminclude mbuild |
18 | |
19 | UP2DATE="updatecmd http://www.apache.org/dist/xerces/c/3/sources/ | grep ${PNAME}- | lasttarball gz" |
20 | |
21 | SRC_URI=( |
22 | http://www.apache.org/dist/xerces/c/3/sources/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | ) |
25 | |
26 | src_compile() |
27 | { |
28 | cd ${SRCDIR} |
29 | mconfigure \ |
30 | --disable-pretty-make \ |
31 | --disable-static \ |
32 | --enable-threads \ |
33 | --enable-msgloader-inmemory \ |
34 | --enable-transcoder-gnuiconv \ |
35 | --enable-netaccessor-socket \ |
36 | || die |
37 | |
38 | mmake -j1 || die |
39 | } |