Сравнение nvme-cli-2.3 с nvme-cli-2.4-r2
/usr/portage/sys-apps/nvme-cli/nvme-cli-2.4-r2.ebuild 2023-10-09 14:52:35.392368499 +0300 | ||
---|---|---|
11 | 11 | |
12 | 12 |
LICENSE="GPL-2 GPL-2+" |
13 | 13 |
SLOT="0" |
14 |
KEYWORDS="amd64 ~arm64 ~loong ppc64 ~riscv ~x86" |
|
15 |
IUSE="hugepages" |
|
14 |
KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86" |
|
15 |
IUSE="hugepages +json" |
|
16 | 16 | |
17 | 17 |
RDEPEND=" |
18 |
>=sys-libs/libnvme-1.3:= |
|
18 |
=sys-libs/libnvme-1.4*:=[json?] |
|
19 | 19 |
hugepages? ( sys-libs/libhugetlbfs:= ) |
20 |
dev-libs/json-c:= |
|
20 |
json? ( dev-libs/json-c:= ) |
|
21 | 21 |
sys-libs/zlib:= |
22 | 22 |
" |
23 | 23 | |
... | ... | |
30 | 30 | |
31 | 31 |
PATCHES=( |
32 | 32 |
"${FILESDIR}/nvme-cli-2.2-docdir.patch" |
33 |
"${FILESDIR}/nvme-cli-2.3-no-hugetlbfs-automatic-dep.patch" |
|
33 |
"${FILESDIR}/nvme-cli-2.4-no-hugetlbfs-automatic-dep.patch" |
|
34 | 34 |
) |
35 | 35 | |
36 | 36 |
src_configure() { |
37 |
local unitdir="$(systemd_get_systemunitdir)" |
|
38 | 37 |
local emesonargs=( |
38 |
-Dversion-tag="${PV}" |
|
39 | 39 |
-Ddocs=all |
40 |
-Dhtmldir="${EPREFIX}/usr/share/doc/${P}/html" |
|
41 |
-Dsystemddir="${unitdir%/system}" |
|
42 |
-Dudevrulesdir="${EPREFIX}$(get_udevdir)" |
|
40 |
-Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html" |
|
41 |
-Dsystemddir="$(systemd_get_systemunitdir)" |
|
42 |
-Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d" |
|
43 | 43 |
$(meson_use hugepages) |
44 |
$(meson_feature json json-c) |
|
44 | 45 |
) |
45 | 46 |
meson_src_configure |
46 | 47 |
} |