Annotation of /smage/branches/alx07x-unstable/extras/xerces-c/xerces-c-3.1.2-r2.smage2
Parent Directory | Revision Log
Revision 6434 -
(hide annotations)
(download)
Mon Apr 27 12:57:50 2015 UTC (9 years ago) by niro
Original Path: smage/trunk/extras/xerces-c/xerces-c-3.1.2-r2.smage2
File size: 841 byte(s)
Mon Apr 27 12:57:50 2015 UTC (9 years ago) by niro
Original Path: smage/trunk/extras/xerces-c/xerces-c-3.1.2-r2.smage2
File size: 841 byte(s)
-fixed uncommon libs
1 | niro | 6434 | # $Id$ |
2 | |||
3 | PNAME="xerces-c" | ||
4 | PVER="3.1.2" | ||
5 | PBUILD="r2" | ||
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 | # uncommon libs *.so only | ||
18 | ALX_PKG_KEEP="usr/$(mlibdir)/*.so" | ||
19 | sminclude mbuild alx-split | ||
20 | |||
21 | UP2DATE="updatecmd http://www.apache.org/dist/xerces/c/3/sources/ | grep ${PNAME}- | lasttarball gz" | ||
22 | |||
23 | SRC_URI=( | ||
24 | http://www.apache.org/dist/xerces/c/3/sources/${SRCFILE} | ||
25 | mirror://${PNAME}/${SRCFILE} | ||
26 | ) | ||
27 | |||
28 | src_compile() | ||
29 | { | ||
30 | cd ${SRCDIR} | ||
31 | mconfigure \ | ||
32 | --disable-pretty-make \ | ||
33 | --disable-static \ | ||
34 | --enable-threads \ | ||
35 | --enable-msgloader-inmemory \ | ||
36 | --enable-transcoder-gnuiconv \ | ||
37 | --enable-netaccessor-socket \ | ||
38 | || die | ||
39 | |||
40 | mmake -j1 || die | ||
41 | } |