mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
29 lines
571 B
Bash
29 lines
571 B
Bash
# Copyright 2023-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="Small tool for altering forwarded network data in real time"
|
|
HOMEPAGE="http://silicone.homelinux.org/projects/netsed/"
|
|
SRC_URI="http://silicone.homelinux.org/release/netsed/${P}.tar.gz"
|
|
|
|
LICENSE="LGPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~x86"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
BDEPEND="test? ( dev-lang/ruby )"
|
|
|
|
src_compile() {
|
|
tc-export CC
|
|
emake CFLAGS="${CFLAGS}"
|
|
}
|
|
|
|
src_install() {
|
|
dobin netsed
|
|
dodoc NEWS README
|
|
}
|