1 # Maintainer: Tarjaizaid <tarjaizaid@gmail.com>
2 pkgname=dynamips-community
5 pkgdesc="Dynamips version develloped by gns3 team"
7 url="http://www.gns3.net/dynamips"
10 source=(http://downloads.sourceforge.net/gns-3/dynamips-0.2.8-RC3-community.tar.gz)
11 sha1sums=(ed7138859e6bc381ae0cf0d2620b32099845847c)
14 if test "$CARCH" == x86_64; then
15 export DYNAMIPS_ARCH=amd64
17 cd "$srcdir/dynamips-0.2.8-RC3-community"
22 cd "$srcdir/dynamips-0.2.8-RC3-community"
23 make DESTDIR="$pkgdir/usr" install
24 rm -r "$pkgdir/usr/etc"
25 install -D -m 644 "$pkgdir/usr/man/man1/dynamips.1" "$pkgdir/usr/share/man/man1/dynamips.1"
26 install -D -m 644 "$pkgdir/usr/man/man1/nvram_export.1" "$pkgdir/usr/share/man/man1/nvram_export.1"
27 install -D -m 644 "$pkgdir/usr/man/man7/hypervisor_mode.7" "$pkgdir/usr/share/man/man7/hypervisor_mode.7"
28 rm -r "$pkgdir/usr/man/"