Diff nvme-cli-2.4-r2 with a nvme-cli-2.5
/usr/portage/sys-apps/nvme-cli/nvme-cli-2.5.ebuild 2023-10-09 14:52:35.392368499 +0300 | ||
---|---|---|
15 | 15 |
IUSE="hugepages +json" |
16 | 16 | |
17 | 17 |
RDEPEND=" |
18 |
=sys-libs/libnvme-1.4*:=[json?] |
|
18 |
=sys-libs/libnvme-1.5*:=[json?] |
|
19 | 19 |
hugepages? ( sys-libs/libhugetlbfs:= ) |
20 | 20 |
json? ( dev-libs/json-c:= ) |
21 | 21 |
sys-libs/zlib:= |
... | ... | |
29 | 29 |
" |
30 | 30 | |
31 | 31 |
PATCHES=( |
32 |
"${FILESDIR}/nvme-cli-2.2-docdir.patch" |
|
33 |
"${FILESDIR}/nvme-cli-2.4-no-hugetlbfs-automatic-dep.patch" |
|
32 |
"${FILESDIR}/nvme-cli-2.5-no-hugetlbfs-automatic-dep.patch" |
|
34 | 33 |
) |
35 | 34 | |
36 | 35 |
src_configure() { |
... | ... | |
46 | 45 |
meson_src_configure |
47 | 46 |
} |
48 | 47 | |
49 |
src_install() { |
|
50 |
meson_src_install |
|
48 |
pkg_postinst() { |
|
49 |
udev_reload |
|
50 |
} |
|
51 | ||
52 |
pkg_postrm() { |
|
53 |
udev_reload |
|
51 | 54 |
} |