1 # Contributor: Guillem Rieu <guillemr@gmx.net>
5 pkgdesc="GCC-XML generates an XML description of a C++ program from GCC's internal representation"
7 url="http://www.gccxml.org/"
10 makedepends=('cvs' 'cmake')
13 source=(Copyright.txt)
14 md5sums=('2f8b08b32c8c0812ddd083d1bee15091')
16 _cvsroot=":pserver:anoncvs:@www.gccxml.org:/cvsroot/GCC_XML"
22 msg "Connecting to $_cvsmod CVS server..."
23 if [ -d $_cvsmod/CVS ]; then
25 cvs -z3 update -dP -D $pkgver || return 1
28 cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod || return 1
31 msg "CVS checkout done or server timeout"
32 msg "Starting make..."
36 cmake ../$_cvsmod -DCMAKE_INSTALL_PREFIX:PATH=/usr || return 1
38 make DESTDIR="$startdir/pkg" install || return 1
40 install -D -m644 ../Copyright.txt $startdir/pkg/usr/share/licenses/$pkgname/Copyright.txt || return 1
42 rm -r $startdir/src/$_cvsmod-build
45 # vim:set ts=2 sw=2 et: