mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
Closes: https://bugs.gentoo.org/955916 Signed-off-by: Michael Mair-Keimberger <mm1ke@gentoo.org>
42 lines
830 B
Bash
42 lines
830 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake
|
|
|
|
DESCRIPTION="Cisco 7200/3600 Simulator"
|
|
HOMEPAGE="https://github.com/GNS3/dynamips"
|
|
SRC_URI="https://github.com/GNS3/dynamips/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
RDEPEND="
|
|
dev-libs/elfutils
|
|
net-libs/libpcap"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
DOCS=( ChangeLog README.md README.hypervisor RELEASE-NOTES )
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${PN}-0.2.18-docs.patch"
|
|
"${FILESDIR}/${P}-cmake-minimum.patch"
|
|
)
|
|
|
|
src_prepare() {
|
|
# comment out DYNAMIPS_FLAGS to respect CFLAGS
|
|
sed -e "s:^set ( DYNAMIPS_FLAGS:#&:" -i cmake/dependencies.cmake || die
|
|
|
|
cmake_src_prepare
|
|
}
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DANY_COMPILER=1
|
|
-DENABLE_IPV6=yes
|
|
)
|
|
cmake_src_configure
|
|
}
|