mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
t50: a new tool
This commit is contained in:
parent
a576fd8fbd
commit
717dc9f238
2 changed files with 34 additions and 0 deletions
1
net-misc/t50/Manifest
Normal file
1
net-misc/t50/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
EBUILD t50-20130423.ebuild 723 SHA256 122edc143ebbc97f6432d08612f7530b1292edf675b63f8948c3a681e06f5d7e SHA512 5b5340e867b6723b4ed1999dd5e58861a1837ee5992061e88b3130c9a67dc8781732509819af4ab51424faa79ff468a25b4c6579dafa601e30b679266517b967 WHIRLPOOL c778ba604ba7e3381dfa1b759e6148ebfea7cf074851a365ad646607f1cf514356e38edca00a7a7614c85823a33cef460d6125b6f076ad1f5396b4e0ecf6fb94
|
||||
33
net-misc/t50/t50-20130423.ebuild
Normal file
33
net-misc/t50/t50-20130423.ebuild
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit git-2
|
||||
|
||||
DESCRIPTION="Mixed Packet Injector & Network Stress Testing Tool"
|
||||
HOMEPAGE="https://github.com/merces/t50"
|
||||
EGIT_REPO_URI="https://github.com/merces/t50.git"
|
||||
EGIT_COMMIT="e3853e359e55a7edc83afa991669ecf147ff7467"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
#Fix broken Makefile
|
||||
sed -i "s|STRIP=-s|STRIP=|" Makefile || die
|
||||
sed -i "s|\$(CFLAGS)|\$(CFLAGS) \$(LDFLAGS)|" Makefile || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#It's easy to re-write the install script
|
||||
# emake DESTDIR="${D}" install
|
||||
dosbin ${PN}
|
||||
dodoc readme
|
||||
doman doc/t50.1
|
||||
}
|
||||
Loading…
Reference in a new issue