1 # Maintainer: Matias De la Puente <mfpuente.ar at gmail com>
5 pkgdesc="NEC2++ is a C++ rewrite of the Numerical Electromagnetics Code (NEC-2). It can analyse radiating as well as scattering properties of structures. Nec2++ is available as a library for easy integration into automatic antenna design systems or GUI tools"
7 url="http://alioth.debian.org/projects/necpp/"
12 _cvsroot=:pserver:anonymous@anonscm.debian.org:/cvs/necpp""
17 msg "Connecting to $_cvsmod CVS server...."
18 if [ -d $_cvsmod/CVS ]; then
22 cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod
26 msg "CVS checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf "$srcdir/$_cvsmod-build"
30 cp -r "$srcdir/$_cvsmod" "$srcdir/$_cvsmod-build"
31 cd "$srcdir/$_cvsmod-build"
39 ./configure --prefix=/usr --without-lapack
44 cd "$srcdir/$_cvsmod-build"
45 make DESTDIR="$pkgdir/" install