summaryrefslogtreecommitdiff
blob: e47d88888bc1cd8016751720ae495a7eb3ee1bc1 (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
29
30
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Small tool for altering forwarded network data in real time"
HOMEPAGE="http://freshmeat.net/projects/netsed"
SRC_URI="mirror://gentoo/${PN}.tgz -> ${P}.tgz
	mirror://gentoo/${PN}_0.01c-2.diff.gz"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE=""

S=${WORKDIR}

PATCHES=(
	netsed_0.01c-2.diff
)

src_compile() {
	emake CFLAGS="${CFLAGS}"
}

src_install() {
	dobin netsed
	doman debian/netsed.1
	dodoc README
}