1 # Contributor: Marcel Wysocki <maci@satgnu.net>
2 # Maintainer: Marcel Wysocki <maci@satgnu.net>
7 pkgdesc="Dynagen is a front-end for use with the Dynamips Cisco router emulator."
9 url="http://www.dynagen.org"
11 depends=('dynamips' 'python')
12 source=(http://downloads.sourceforge.net/dyna-gen/${pkgname}-${pkgver}.tar.gz)
13 md5sums=('3f88b3449b17096dca84d007f0b91b3f')
16 cd $startdir/src/$pkgname-$pkgver
17 rm -R docs/ sample_labs/ COPYING README.txt
20 mkdir -p $startdir/pkg/usr/share/dynagen
21 mv * $startdir/pkg/usr/share/dynagen
22 mkdir -p $startdir/pkg/usr/bin
23 cd $startdir/pkg/usr/bin
24 ln -s ../share/dynagen/dynagen
25 mkdir $startdir/pkg/etc
26 mv $startdir/pkg/usr/share/dynagen/dynagen.ini $startdir/pkg/etc
27 chmod 644 $startdir/pkg/usr/share/dynagen/*
28 chmod 755 $startdir/pkg/usr/share/dynagen/dynagen
29 chmod 755 $startdir/pkg/usr/share/dynagen/pemu-start.sh