diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2013-07-15 15:48:51 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2013-07-15 15:48:51 +0000 |
commit | 09c1074e7de2afcd3631c7f696ad05f59a1ddca9 (patch) | |
tree | d8002f5e0a59521f1d147f1c42c32d5c3bb990e1 /app-emulation | |
parent | initial import (diff) | |
download | gentoo-2-09c1074e7de2afcd3631c7f696ad05f59a1ddca9.tar.gz gentoo-2-09c1074e7de2afcd3631c7f696ad05f59a1ddca9.tar.bz2 gentoo-2-09c1074e7de2afcd3631c7f696ad05f59a1ddca9.zip |
Version bump, wrt bug #476708. EAPI 5, enable verbose build, get rid of base eclass, respect compiler
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/dynamips/ChangeLog | 8 | ||||
-rw-r--r-- | app-emulation/dynamips/dynamips-0.2.8.ebuild | 51 |
2 files changed, 58 insertions, 1 deletions
diff --git a/app-emulation/dynamips/ChangeLog b/app-emulation/dynamips/ChangeLog index 8a9cc6e28896..8b921de83b45 100644 --- a/app-emulation/dynamips/ChangeLog +++ b/app-emulation/dynamips/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-emulation/dynamips # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/dynamips/ChangeLog,v 1.7 2013/07/15 14:53:01 pinkbyte Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/dynamips/ChangeLog,v 1.8 2013/07/15 15:48:51 pinkbyte Exp $ + +*dynamips-0.2.8 (15 Jul 2013) + + 15 Jul 2013; Sergey Popov <pinkbyte@gentoo.org> +dynamips-0.2.8.ebuild: + Version bump, wrt bug #476708. EAPI 5, enable verbose build, get rid of base + eclass, respect compiler 15 Jul 2013; Sergey Popov <pinkbyte@gentoo.org> metadata.xml: Add myself as primary maintainer, permission granted by Tony Vroon diff --git a/app-emulation/dynamips/dynamips-0.2.8.ebuild b/app-emulation/dynamips/dynamips-0.2.8.ebuild new file mode 100644 index 000000000000..af66ae9d7ce1 --- /dev/null +++ b/app-emulation/dynamips/dynamips-0.2.8.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/dynamips/dynamips-0.2.8.ebuild,v 1.1 2013/07/15 15:48:51 pinkbyte Exp $ + +EAPI=5 + +inherit eutils toolchain-funcs + +MY_PV="${PV/_rc/-RC}-community" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="Cisco 7200/3600 Simulator" +HOMEPAGE="http://www.gns3.net/dynamips/" +SRC_URI="mirror://sourceforge/project/gns-3/Dynamips/${MY_PV}/${MY_P}.source.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="app-arch/unzip + dev-libs/elfutils + net-libs/libpcap" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}/${P}-makefile.patch" + + # enable verbose build + sed -i -e 's/@$(CC)/$(CC)/g' stable/Makefile || die 'sed on Makefile failed' + # respect compiler + tc-export CC + + epatch_user +} + +src_compile() { + if use amd64 || use x86; then + emake DYNAMIPS_ARCH="${ARCH}" + else + emake + fi +} + +src_install () { + newbin dynamips.stable dynamips + dobin stable/nvram_export + doman man/* + dodoc TODO README README.hypervisor +} |