# Contributor: shild # Maintainer: Marcel Wysocki pkgname=dynamips pkgver=0.2.8 pkgrel=1 pkgdesc="Cisco 7200/3600 Simulator - emulates MIPS64 processor and CISCO hardware" arch=('i686' 'x86_64') url="http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator" license=('GPL') depends=('libpcap') install=dynamips.install # libelf linked statically makedepends=('libelf') source=(http://www.ipflow.utc.fr/dynamips/${pkgname}-${pkgver}-RC2.tar.gz dynamips_0.2.8RC2.diff) md5sums=('8d12d28684d164fe3312a3fe43c84d2e' 'cfaa5420b02624bb79baee92d19d1037') build() { if [ "$CARCH" == "x86_64" ]; then export DYNAMIPS_ARCH=amd64 fi cd $startdir/src/$pkgname-$pkgver-RC2 patch -p1 < ../dynamips_0.2.8RC2.diff make || return 1 make DESTDIR=$startdir/pkg/usr install rmdir $startdir/pkg/usr/etc }