Annotation of /trunk/todo/xsd/xsd-4.0.0-r1.smage2
Parent Directory | Revision Log
Revision 23344 -
(hide annotations)
(download)
Tue Nov 11 14:24:34 2014 UTC (9 years, 10 months ago) by niro
Original Path: trunk/extras/xsd/xsd-4.0.0-r1.smage2
File size: 1117 byte(s)
Tue Nov 11 14:24:34 2014 UTC (9 years, 10 months ago) by niro
Original Path: trunk/extras/xsd/xsd-4.0.0-r1.smage2
File size: 1117 byte(s)
auto added: ver bump to 4.0.0-r1
1 | niro | 23344 | # $Id$ |
2 | |||
3 | PNAME="xsd" | ||
4 | PVER="4.0.0" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PLEVEL="" | ||
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.56 | ||
14 | >= dev-libs/boost-regex-1.56 | ||
15 | >= dev-libs/boost-system-1.56 | ||
16 | >= dev-util/xerces-c-3.1 | ||
17 | >= sys-libs/libstdc++-4.8" | ||
18 | |||
19 | SDEPEND=">= dev-libs/boost-1.56" | ||
20 | |||
21 | if [[ -z ${PLEVEL} ]] | ||
22 | then | ||
23 | __myPVER="${PVER}" | ||
24 | UP2PVER="${PVER}" | ||
25 | else | ||
26 | __myPVER="${PVER}-${PLEVEL}" | ||
27 | UP2PVER="${PVER}.${PLEVEL}" | ||
28 | fi | ||
29 | |||
30 | SRCFILE="${PNAME}-${__myPVER}+dep.tar.bz2" | ||
31 | SRCDIR="${BUILDDIR}/${PNAME}-${__myPVER}+dep" | ||
32 | |||
33 | sminclude mbuild | ||
34 | # no check target in Makefile | ||
35 | msetfeature "!check" | ||
36 | |||
37 | SRC_URI=( | ||
38 | http://codesynthesis.com/download/xsd/${PVER%.*}/${SRCFILE} | ||
39 | mirror://${PNAME}/${SRCFILE} | ||
40 | ) | ||
41 | |||
42 | UP2DATE='updatecmd $(updatecmd http://codesynthesis.com/download/xsd/ | grep "/[0-9].*/$" | sed -n "s:.*\(http.*\):\1:;$ p")"/?M=A" | sed "s:-:.:2" | lasttarball | sed "s:+dep::"' | ||
43 | |||
44 | src_install() | ||
45 | { | ||
46 | cd ${SRCDIR} | ||
47 | mmake install_prefix=${BINDIR}/usr install || die | ||
48 | minstalldocs xsd/{README,LICENSE,NEWS} || die | ||
49 | } |