diff options
author | 2023-03-11 10:25:03 +0100 | |
---|---|---|
committer | 2023-04-01 21:18:28 +0200 | |
commit | f96bf8a18579e5d949389b96ed008a4fa99a9218 (patch) | |
tree | d5d80a96f1ef7fa9fdcdbf9228d72358c8756a4e /app-emulation/dynamips/dynamips-0.2.23.ebuild | |
parent | net-misc/gns3-gui: remove old (diff) | |
download | gentoo-f96bf8a18579e5d949389b96ed008a4fa99a9218.tar.gz gentoo-f96bf8a18579e5d949389b96ed008a4fa99a9218.tar.bz2 gentoo-f96bf8a18579e5d949389b96ed008a4fa99a9218.zip |
app-emulation/dynamips: version bump (0.2.23), EAPI8
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-emulation/dynamips/dynamips-0.2.23.ebuild')
-rw-r--r-- | app-emulation/dynamips/dynamips-0.2.23.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app-emulation/dynamips/dynamips-0.2.23.ebuild b/app-emulation/dynamips/dynamips-0.2.23.ebuild new file mode 100644 index 000000000000..1a0741cc4406 --- /dev/null +++ b/app-emulation/dynamips/dynamips-0.2.23.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 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" ) + +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 +} |