blob: c56d8da036246cdf7ca3a0cd851cf8990e0a53ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: shild <sxp@bk.ru>
# Maintainer: Marcel Wysocki <maci@satgnu.net>
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
}
|