Magellan Linux

Contents of /branches/R11-stable/extras/xsd/xsd-3.3.0-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 21920 - (show annotations) (download)
Mon Jul 21 10:35:40 2014 UTC (9 years, 9 months ago) by niro
File size: 1081 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="xsd"
4 PVER="3.3.0"
5 PBUILD="r4"
6
7 PLEVEL="2"
8 PCAT="dev-cpp"
9
10 DESCRIPTION="An open-source, cross-platform W3C XML Schema to C++ data binding compiler."
11 HOMEPAGE="http://www.codesynthesis.com/products/xsd/"
12
13 DEPEND=">= dev-libs/boost-filesystem-1.55
14 >= dev-libs/boost-regex-1.55
15 >= dev-libs/boost-system-1.55
16 >= dev-util/xerces-c-3.1
17 >= sys-libs/libstdc++-4.8"
18
19 SDEPEND=">= dev-libs/boost-1.55"
20
21 if [[ -z ${PLEVEL} ]]
22 then
23 __myPVER="${PVER}"
24 else
25 __myPVER="${PVER}-${PLEVEL}"
26 fi
27
28 SRCFILE="${PNAME}-${__myPVER}+dep.tar.bz2"
29 SRCDIR="${BUILDDIR}/${PNAME}-${__myPVER}+dep"
30
31 sminclude mbuild
32 # no check target in Makefile
33 msetfeature "!check"
34
35 SRC_URI=(
36 http://codesynthesis.com/download/xsd/${PVER%.*}/${SRCFILE}
37 mirror://${PNAME}/${SRCFILE}
38 )
39
40 UP2PVER="${PVER}.${PLEVEL}"
41 UP2DATE='updatecmd $(updatecmd http://codesynthesis.com/download/xsd/ | grep "/[0-9].*/$" | sed -n "s:.*\(http.*\):\1:;$ p")"/?M=A" | sed "s:-:.:2" | lasttarball'
42
43 src_install()
44 {
45 cd ${SRCDIR}
46 mmake install_prefix=${BINDIR}/usr install || die
47 minstalldocs xsd/{README,LICENSE,NEWS} || die
48 }