Сравнение libatasmart-0.19_p5 с libatasmart-0.19_p6

/usr/portage/dev-libs/libatasmart/libatasmart-0.19_p6.ebuild 2026-11-16 17:41:27.942399628 +0300
1
# Copyright 1999-2025 Gentoo Authors
1
# Copyright 1999-2026 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
inherit toolchain-funcs
6
inherit autotools toolchain-funcs
7 7

  
8
DESCRIPTION="A small and lightweight parser library for ATA S.M.A.R.T. hard disks"
8
DESCRIPTION="Small and lightweight parser library for ATA S.M.A.R.T. hard disks"
9 9
HOMEPAGE="https://salsa.debian.org/utopia-team/libatasmart"
10
SRC_URI="mirror://debian/pool/main/liba/${PN}/${PN}_${PV/_p*}.orig.tar.xz
11
	mirror://debian/pool/main/liba/${PN}/${PN}_${PV/_p/-}.debian.tar.xz"
10
SRC_URI="
11
	mirror://debian/pool/main/liba/${PN}/${PN}_${PV/_p*}.orig.tar.xz
12
	mirror://debian/pool/main/liba/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
13
"
14
S="${WORKDIR}/${P/_p*}"
12 15

  
13
LICENSE="LGPL-2.1"
16
LICENSE="LGPL-2.1+"
14 17
SLOT="0/4"
15 18
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
16
IUSE="static-libs"
17 19

  
18 20
RDEPEND="virtual/libudev:="
19 21
DEPEND="${RDEPEND}"
20 22
BDEPEND="virtual/pkgconfig"
21 23

  
22
S="${WORKDIR}/${P/_p*}"
23

  
24 24
src_prepare() {
25
	# https://bugs.gentoo.org/470874
26
	local d="${WORKDIR}/debian/patches"
27
	sed -i -e '/#/d' \
28
		-e "s|^|${d}/|" "${d}"/series || die
29
	eapply $(<"${d}"/series)
30
	eapply_user
31
}
25
	# bug #470874
26
	PATCHES=(
27
		$(sed -e 's:^:../debian/patches/:' "${WORKDIR}"/debian/patches/series || die)
28

  
29
		"${FILESDIR}"/${PN}-0.19_p5_do-not-fortify-source.patch
30
	)
32 31

  
33
src_configure() {
34
	econf $(use_enable static-libs static)
32
	default
33
	eautoreconf
35 34
}
36 35

  
37 36
src_compile() {
38
	if tc-is-cross-compiler; then
39
		tc-export_build_env
40
		emake -C strpool strpool \
41
			CFLAGS="${BUILD_CFLAGS}" \
42
			CPPFLAGS="${BUILD_CPPFLAGS}" \
43
			LDFLAGS="${BUILD_LDFLAGS}"
44
	fi
37
	tc-export_build_env
45 38
	emake
46 39
}
47 40

  
Спасибо!