Contents of /trunk/todo/xsd/xsd-4.0.0-r1.smage2
Parent Directory | Revision Log
Revision 27957 -
(show annotations)
(download)
Wed Apr 6 11:27:45 2016 UTC (8 years, 5 months ago) by niro
File size: 1117 byte(s)
Wed Apr 6 11:27:45 2016 UTC (8 years, 5 months ago) by niro
File size: 1117 byte(s)
-moved to 'todo'
1 | # $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 | } |