summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad A Simmons (CCIEChad) <chad.simmons@member.fsf.org>2008-09-02 20:27:50 +0000
committerChad A Simmons (CCIEChad) <chad.simmons@member.fsf.org>2008-09-02 20:27:50 +0000
commit4d57a3da76d6d65b28ad24807944e61f9ba6dfdb (patch)
tree704dbdf72cf0bed952291fba4584ba73c0ec8b50 /app-emulation
parentsunrise/dev-lang/vala/metadata.xml: Some minor metadata.xml changes (diff)
downloadsunrise-4d57a3da76d6d65b28ad24807944e61f9ba6dfdb.tar.gz
sunrise-4d57a3da76d6d65b28ad24807944e61f9ba6dfdb.tar.bz2
sunrise-4d57a3da76d6d65b28ad24807944e61f9ba6dfdb.zip
app-emulation/dynamips: New ebuild for bug 154491 thanks to Sergey Khalavchuck for the RC ebuild and scarabeus for help and Tommy for the dev review
svn path=/sunrise/; revision=6961
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/dynamips/ChangeLog9
-rw-r--r--app-emulation/dynamips/Manifest4
-rw-r--r--app-emulation/dynamips/dynamips-0.2.7.ebuild35
-rw-r--r--app-emulation/dynamips/metadata.xml5
4 files changed, 53 insertions, 0 deletions
diff --git a/app-emulation/dynamips/ChangeLog b/app-emulation/dynamips/ChangeLog
new file mode 100644
index 000000000..21cd22888
--- /dev/null
+++ b/app-emulation/dynamips/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-emulation/dynamips
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 02 Sep 2008; Chad A Simmons (CCIEChad) <chad.simmons@member.fsf.org>
+ +dynamips-0.2.7.ebuild, +metadata.xml:
+ New ebuild for bug 154491 thanks to Sergey Khalavchuck for the RC ebuild and
+ scarabeus for help and Tommy for the dev review
+
diff --git a/app-emulation/dynamips/Manifest b/app-emulation/dynamips/Manifest
new file mode 100644
index 000000000..71d00c7a3
--- /dev/null
+++ b/app-emulation/dynamips/Manifest
@@ -0,0 +1,4 @@
+DIST dynamips-0.2.7.tar.gz 522620 RMD160 1c84f762c65dc2e83e84ee7b046793c71252c7b1 SHA1 6f65a2e92f5d27aca9d8608369cb20c9539a8121 SHA256 f8fc6fc8f66e10f6afcffa832a6071dffeeb9356ed97fe2690bc678d977717ef
+EBUILD dynamips-0.2.7.ebuild 913 RMD160 c19bbebcbe5c915ed1f35b6a2465a72177876c82 SHA1 b4e3415f281ca927b490fb9ac24d7765e8d16791 SHA256 b01ae3880465745976515057618b85ee696f1fcb340ee5d5fa006669e3c468b1
+MISC ChangeLog 365 RMD160 a9508aa47f8f067917bdc29c83bd949246b9dbf4 SHA1 068784d20af39f5e78a98fff05a81b316aac230f SHA256 d0414a8389e8536b132bea2d562dab00f72de12beaadbfabfde72b9f8544583c
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/app-emulation/dynamips/dynamips-0.2.7.ebuild b/app-emulation/dynamips/dynamips-0.2.7.ebuild
new file mode 100644
index 000000000..bdf168248
--- /dev/null
+++ b/app-emulation/dynamips/dynamips-0.2.7.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: Exp $
+
+DESCRIPTION="dynamips a Cisco 7200/3600 Simulator"
+HOMEPAGE="http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator"
+SRC_URI="http://www.ipflow.utc.fr/dynamips/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT=0
+KEYWORDS="~amd64"
+IUSE=""
+DEPEND="net-libs/libpcap
+ || ( dev-libs/libelf dev-libs/elfutils )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e 's:PCAP_LIB=\/:#PCAP:g' Makefile || die
+ sed -i -e 's:#PCAP_LIB=-lpcap:PCAP_LIB=-lpcap:g' Makefile || die
+ if use amd64; then
+ sed -i -e 's:DYNAMIPS_ARCH?=x86:DYNAMIPS_ARCH?=amd64:g' Makefile || die
+ fi
+}
+
+src_compile() {
+ emake -j1 || die "emake ${P} failed"
+ # fails with -j2 or higher
+}
+
+src_install () {
+ dobin nvram_export dynamips || die
+ doman dynamips.1 hypervisor_mode.7 nvram_export.1
+ dodoc ChangeLog TODO README README.hypervisor
+}
diff --git a/app-emulation/dynamips/metadata.xml b/app-emulation/dynamips/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/app-emulation/dynamips/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>