Diff libnet-1.2 with a libnet-1.2.9999

/usr/portage/net-libs/libnet/libnet-1.2.9999.ebuild 2023-10-09 14:52:34.488368476 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
5
inherit autotools git-r3
5 6

  
6 7
DESCRIPTION="library providing an API for commonly used low-level network functions"
7 8
HOMEPAGE="http://libnet-dev.sourceforge.net/ https://github.com/libnet/libnet"
8
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
9
EGIT_REPO_URI="https://github.com/libnet/libnet"
9 10

  
10 11
LICENSE="BSD BSD-2 HPND"
11 12
SLOT="1.1"
12
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
13
KEYWORDS=""
13 14
IUSE="static-libs"
14 15

  
15 16
DOCS=(
16
	ChangeLog.md README.md doc/MIGRATION.md
17
	ChangeLog.md README.md doc/{MIGRATION,RAWSOCKET,TODO}.md
17 18
)
19
S=${WORKDIR}/${P/_/-}
18 20

  
19
# This patch is taken from master branch in mainstream commit a1659e2.  It is
20
# necessary in order to support musl libc.
21
PATCHES=( "${FILESDIR}/${P}-int64_t.patch" )
21
src_prepare() {
22
	default
23

  
24
	eautoreconf
25
}
22 26

  
23 27
src_configure() {
24 28
	econf $(use_enable static-libs static)
Thank you!