1 # Maintainer: Oleg Smirnov <oleg.smirnov@gmail.com>
2 # Contributor: Luke McCarthy <luke@iogopro.co.uk>
6 pkgdesc="Tcl/TK based animation tool for viewing network simulation traces and real world packet traces"
7 url="http://www.isi.edu/nsnam/nam/"
10 depends=('glibc' 'tcl84' 'tk84' 'otcl' 'zlib')
12 source=(http://downloads.sourceforge.net/sourceforge/nsnam/nam-1/$pkgver/nam-$pkgver.tar.gz)
13 md5sums=('627a22187a44891a4cbc1b0f9c5b53e4')
16 cd ${srcdir}/$pkgname-$pkgver
17 install -d ${pkgdir}/usr/bin
18 ./configure --prefix=${pkgdir}/usr \
19 --with-tclcl=/usr/lib/tclcl || return 1
21 make install || return 1
23 for dir in edu ex iecdemos bin; do
24 install -dm755 ${pkgdir}/usr/share/nam/$dir
25 install -m644 -t ${pkgdir}/usr/share/nam/$dir $dir/*