Contents of /trunk/extras/xsd/xsd-3.3.0-r1.smage2
Parent Directory | Revision Log
Revision 14372 -
(show annotations)
(download)
Fri Dec 14 13:54:14 2012 UTC (11 years, 5 months ago) by niro
File size: 775 byte(s)
Fri Dec 14 13:54:14 2012 UTC (11 years, 5 months ago) by niro
File size: 775 byte(s)
-fixed a typo
1 | # $Id$ |
2 | |
3 | PNAME="xsd" |
4 | PVER="3.3.0" |
5 | PBUILD="r1" |
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-util/xerces-c-3.1" |
14 | SDEPEND=">= dev-libs/boost-1.50" |
15 | |
16 | if [[ -z ${PLEVEL} ]] |
17 | then |
18 | __myPVER="${PVER}" |
19 | else |
20 | __myPVER="${PVER}-${PLEVEL}" |
21 | fi |
22 | |
23 | SRCFILE="${PNAME}-${__myPVER}+dep.tar.bz2" |
24 | SRCDIR="${BUILDDIR}/${PNAME}-${__myPVER}+dep" |
25 | |
26 | sminclude mbuild |
27 | |
28 | SRC_URI=( |
29 | http://codesynthesis.com/download/xsd/${PVER%.*}/${SRCFILE} |
30 | mirror://${PNAME}/${SRCFILE} |
31 | ) |
32 | |
33 | UP2PVER="${PVER}.${PLEVEL}" |
34 | UP2DATE='updatecmd $(updatecmd http://codesynthesis.com/download/xsd/ | grep "/[0-9].*/$" | sed -n "s:.*\(http.*\):\1:;$ p")"/?M=A" | sed "s:-:.:2" | lasttarball' |