Skip to content

Commit

Permalink
Added mnexec executable extra ebuild
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Fabrizio Orsi <[email protected]>
  • Loading branch information
lima-limon-inc committed Jun 4, 2024
1 parent e97b975 commit 8137229
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dev-python/mininet/mininet-2.3.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND=""
RDEPEND="
net-misc/openvswitch
dev-util/mnexec
"
DEPEND="${RDEPEND}"
BDEPEND=""
1 change: 1 addition & 0 deletions dev-util/mnexec/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST mnexec.tar.gz 244886 BLAKE2B bd1ea83c8888307a8ef53eca2781a80455caa414563c2b066cd2aa5ba6eaa7f97d842f3ee931fc9709e746093cdc343d598fbd26f1d82fb4d8f769f8469e4321 SHA512 d21d41c08087fb18d9582511f5f185d4207392151871b9a18f64837536781dce942e23423a22824e576ca3823dd0e84ed3fe95406494b9342b6d528dcc4e4c48
27 changes: 27 additions & 0 deletions dev-util/mnexec/mnexec-2.3.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Emulator for rapid prototyping of Software Defined Networks"
HOMEPAGE="https://mininet.org/"
SRC_URI="https://github.com/mininet/mininet/archive/refs/tags/${PV}.tar.gz -> ${PN}.tar.gz"
S="${WORKDIR}/mininet-${PV}"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND=""
DEPEND="${RDEPEND}"
BDEPEND=""

src_compile() {
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o mnexec mnexec.c || die "Compilation failed"
}

src_install() {
dobin mnexec
}

0 comments on commit 8137229

Please sign in to comment.