1 # Maintainer: Christofer Bertonha <chritoferbertonha@gmail.com>
6 pkgdesc="CableSwig is used to create interfaces (i.e. "wrappers") to interpreted languages such as Tcl and Python"
8 url="http://http://www.itk.org/ITK/resources/CableSwig.html"
10 makedepends=('cvs' 'cmake')
11 provides=('cableswig')
12 conflicts=('cableswig')
14 _cvsroot=":pserver:anonymous@public.kitware.com:/cvsroot/CableSwig"
20 msg "Connecting to ${_cvsmod} CVS server..."
21 if [ -d ${_cvsmod}/CVS ]; then
23 cvs -z3 update -dP -D ${pkgver}
25 cvs -z3 -d $_cvsroot co -D ${pkgver} -f ${_cvsmod}
29 msg "CVS checkout done or server timeout"
30 msg "Starting make..."
32 mkdir -p build && cd build
34 -DCMAKE_INSTALL_PREFIX:PATH=/usr \
35 -DCMAKE_BUILD_TYPE:STRING=Release \
43 cd ${srcdir}/${_cvsmod}/build
44 make DESTDIR=${pkgdir} install