Diff thc-ipv6-3.8_p20250914 with a thc-ipv6-9999

/usr/portage/net-analyzer/thc-ipv6/thc-ipv6-9999.ebuild 2024-12-25 15:56:46.926790256 +0300
1
# Copyright 1999-2026 Gentoo Authors
1
# Copyright 1999-2024 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
13 13
	EGIT_BRANCH=master
14 14
	inherit git-r3
15 15
else
16
	HASH="7f3589fab681966d0b0c76ab9709ff9cafbd009a"
17
	S="${WORKDIR}/${PN}-${HASH}"
18
	SRC_URI="https://github.com/vanhauser-thc/thc-ipv6/archive/${HASH}.tar.gz -> ${P}.gh.tar.gz"
16
	SRC_URI="https://github.com/vanhauser-thc/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
19 17
	KEYWORDS="~amd64 ~x86"
20 18
fi
21 19

  
......
30 28
"
31 29
RDEPEND="${DEPEND}"
32 30

  
33
PATCHES=(
34
	# merged
35
	"${FILESDIR}"/${P}-fix_parallel.patch
36
)
37

  
38 31
src_prepare() {
39 32
	sed -e '/^CFLAGS+=-g/s,CFLAGS+=,CFLAGS?=,' \
40 33
		-i Makefile || die
......
52 45
}
53 46

  
54 47
src_install() {
55
	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" STRIP="true" install
48
	emake DESTDIR="${D}" PREFIX="/usr" STRIP="true" install
56 49
	dodoc CHANGES HOWTO-INJECT README.md
57 50
}
Thank you!