summaryrefslogtreecommitdiff
path: root/net-misc/netsed/netsed-1.4.ebuild
blob: 4f5f9dcd1cb7b8e6aa657fd82c6235ad77867498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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
}