-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added mnexec executable extra ebuild
Signed-off-by: Tomas Fabrizio Orsi <[email protected]>
- Loading branch information
1 parent
e97b975
commit 8137229
Showing
3 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST mnexec.tar.gz 244886 BLAKE2B bd1ea83c8888307a8ef53eca2781a80455caa414563c2b066cd2aa5ba6eaa7f97d842f3ee931fc9709e746093cdc343d598fbd26f1d82fb4d8f769f8469e4321 SHA512 d21d41c08087fb18d9582511f5f185d4207392151871b9a18f64837536781dce942e23423a22824e576ca3823dd0e84ed3fe95406494b9342b6d528dcc4e4c48 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |