Magellan Linux

Contents of /smage/branches/alx07x-unstable/extras/xerces-c/xerces-c-3.1.2-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7537 - (show annotations) (download)
Mon Sep 21 09:04:18 2015 UTC (8 years, 7 months ago) by niro
File size: 841 byte(s)
-release branches/alx07x-unstable
1 # $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 }