23 lines
798 B
Bash
23 lines
798 B
Bash
# Template file for 'dynamips'
|
|
pkgname=dynamips
|
|
version=0.2.23
|
|
revision=1
|
|
build_style=cmake
|
|
build_helper=qemu
|
|
makedepends="elfutils-devel libpcap-devel"
|
|
depends="iouyap"
|
|
short_desc="Hardware emulation for Cisco IOS capable devices"
|
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/GNS3/dynamips"
|
|
distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=503bbb52c03f91900ea8dbe8bd0b804b76e2e28d0b7242624e0d3c52dda441a1
|
|
|
|
# cross compile does not currently work without binfmt
|
|
# so `nocross` is used in environments like Github Actions
|
|
_BINFMT_PATH=/proc/sys/fs/binfmt_misc/qemu-${XBPS_TARGET_QEMU_MACHINE}-static
|
|
|
|
if ! grep -q enabled ${_BINFMT_PATH} 2>/dev/null; then
|
|
nocross="binfmt support not enabled"
|
|
fi
|