Diff netsed-0.01b-r1 with a netsed-1.3-r1
/usr/portage/net-misc/netsed/netsed-1.3-r1.ebuild 2023-10-09 14:52:34.668368481 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2019 Gentoo Authors |
|
1 |
# Copyright 2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
DESCRIPTION="Small tool for altering forwarded network data in real time" |
7 |
HOMEPAGE="http://freshmeat.net/projects/netsed" |
|
8 |
SRC_URI="mirror://gentoo/${P}.tgz |
|
9 |
mirror://gentoo/${PN}_0.01c-2.diff.gz" |
|
7 |
HOMEPAGE="http://silicone.homelinux.org/projects/netsed/" |
|
8 |
SRC_URI="http://silicone.homelinux.org/release/netsed/${P}.tar.gz" |
|
10 | 9 | |
11 | 10 |
LICENSE="LGPL-2" |
12 | 11 |
SLOT="0" |
13 |
KEYWORDS="amd64 ~x86" |
|
14 |
IUSE="" |
|
12 |
KEYWORDS="~amd64 ~x86" |
|
13 |
IUSE="test" |
|
14 |
RESTRICT="!test? ( test )" |
|
15 | 15 | |
16 |
S=${WORKDIR} |
|
17 | ||
18 |
PATCHES=( |
|
19 |
netsed_0.01c-2.diff |
|
20 |
) |
|
16 |
BDEPEND="test? ( dev-lang/ruby )" |
|
21 | 17 | |
22 | 18 |
src_compile() { |
23 | 19 |
emake CFLAGS="${CFLAGS}" |
... | ... | |
25 | 21 | |
26 | 22 |
src_install() { |
27 | 23 |
dobin netsed |
28 |
doman debian/netsed.1 |
|
29 |
dodoc README |
|
24 |
dodoc NEWS README |
|
30 | 25 |
} |