Contents of /branches/R11-stable/extras/xsd/xsd-3.3.0-r3.smage2
Parent Directory | Revision Log
Revision 18054 -
(show annotations)
(download)
Thu Jun 27 06:50:43 2013 UTC (11 years, 3 months ago) by niro
File size: 1081 byte(s)
Thu Jun 27 06:50:43 2013 UTC (11 years, 3 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="r3" |
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.53 |
14 | >= dev-libs/boost-regex-1.53 |
15 | >= dev-libs/boost-system-1.53 |
16 | >= dev-util/xerces-c-3.1 |
17 | >= sys-libs/libstdc++-4.7" |
18 | |
19 | SDEPEND=">= dev-libs/boost-1.53" |
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 | } |