diff options
author | 2009-01-16 17:41:44 +0000 | |
---|---|---|
committer | 2009-01-16 17:41:44 +0000 | |
commit | 3b9fc52e4a8d511692ac359385743130f0c18318 (patch) | |
tree | 8aea198e72d45e38938db3ad7b5962c19cf9f31f /app-emulation/dynamips/dynamips-0.2.8_rc2.ebuild | |
parent | net-misc/anyremote: Version Bump, using src_configure function to match EAPI-... (diff) | |
download | sunrise-3b9fc52e4a8d511692ac359385743130f0c18318.tar.gz sunrise-3b9fc52e4a8d511692ac359385743130f0c18318.tar.bz2 sunrise-3b9fc52e4a8d511692ac359385743130f0c18318.zip |
app-emulation/dynamips: New Ebuild for version 0.2.8_rc2 bug 154491. Includes Makefile patch to fix parallel make. Thanks to everyone in #gentoo-sunrise for help
svn path=/sunrise/; revision=7648
Diffstat (limited to 'app-emulation/dynamips/dynamips-0.2.8_rc2.ebuild')
-rw-r--r-- | app-emulation/dynamips/dynamips-0.2.8_rc2.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app-emulation/dynamips/dynamips-0.2.8_rc2.ebuild b/app-emulation/dynamips/dynamips-0.2.8_rc2.ebuild new file mode 100644 index 000000000..a7ca77981 --- /dev/null +++ b/app-emulation/dynamips/dynamips-0.2.8_rc2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +MY_P="${P/_rc/-RC}" + +DESCRIPTION="Cisco 7200/3600 Simulator" +HOMEPAGE="http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator" +SRC_URI="http://www.ipflow.utc.fr/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT=0 +KEYWORDS="~amd64 ~x86" +IUSE="" +DEPEND=">=net-libs/libpcap-0.9.4 + dev-libs/elfutils" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-parallel_build.patch" + + if use amd64; then + sed -i \ + -e 's:DYNAMIPS_ARCH?=x86:DYNAMIPS_ARCH?=amd64:g' \ + Makefile || die "sed failed" + fi +} + +src_install () { + dobin dynamips nvram_export \ + || die "Installing binaries failed" + doman dynamips.1 hypervisor_mode.7 nvram_export.1 \ + || die "Installing man pages failed" + dodoc ChangeLog TODO README README.hypervisor \ + || die "Installing docs failed" +} + |