diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-03 00:00:22 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-03 00:00:22 +0100 |
commit | a98588cfddf3d6e88a5f17d7f399b695163c7a85 (patch) | |
tree | 9f786257ac4bfd6be23a0d585c4b6c17361d37d2 /sys-apps/azure-nvme-utils | |
parent | f5ef7f2371babf22c2c3fad17108692b09e4c98e (diff) |
gentoo auto-resync : 03:05:2024 - 00:00:22
Diffstat (limited to 'sys-apps/azure-nvme-utils')
-rw-r--r-- | sys-apps/azure-nvme-utils/Manifest | 3 | ||||
-rw-r--r-- | sys-apps/azure-nvme-utils/azure-nvme-utils-0.1.2_p20240502.ebuild | 30 | ||||
-rw-r--r-- | sys-apps/azure-nvme-utils/metadata.xml | 14 |
3 files changed, 47 insertions, 0 deletions
diff --git a/sys-apps/azure-nvme-utils/Manifest b/sys-apps/azure-nvme-utils/Manifest new file mode 100644 index 000000000000..b9b867de5c40 --- /dev/null +++ b/sys-apps/azure-nvme-utils/Manifest @@ -0,0 +1,3 @@ +DIST azure-nvme-utils-0.1.2_p20240502.tar.gz 11362 BLAKE2B 593a1670af3d01e400afb4cf21e9cb3a6456da3ad7914d020462fb50950a8e6d8255ad14fcb8708d44f55f3170a72f824e0fae942a560bf69c6d9770c4da1d2b SHA512 e4d0f3a400e16dc119b1562ec2abfb1e520ef58de46a36fccd4fd9db773c95ad218cc38a406cb644188ca6c66c7e84292cbcae3dad5f1e4b2c3ae0b24aa5077d +EBUILD azure-nvme-utils-0.1.2_p20240502.ebuild 826 BLAKE2B e6215a08a92124915815008d11284a3766315492addee6c572dacff0de4be3a6f28d6fdc805f9e4b60e8f191be96b20c5446928c22bd878dc2d0b6a6d8697def SHA512 5f8121f8561e839cc3dbe5ef5b2dbc68fac2a402052d3136a6ff2b07121723058e98254d21a82aee32729557e48da15f514985fab85dd04a8cde39dfa14cbef0 +MISC metadata.xml 426 BLAKE2B 24ec8a7528b7d42d8b9b704ed26572cd5171914a588f7665d881723a82cb3ba5eed5543c3ff376f65fb9e1bd0abc641eef2cfc078812d36ca43e1a82c509ece3 SHA512 9ff643547af48d07106069966935403b31ab5259009bcd3e9609cec2a5a1e8d05b931acdfb2c0a42fb5068d934f709b769dbc838b762199071c81deaeb320164 diff --git a/sys-apps/azure-nvme-utils/azure-nvme-utils-0.1.2_p20240502.ebuild b/sys-apps/azure-nvme-utils/azure-nvme-utils-0.1.2_p20240502.ebuild new file mode 100644 index 000000000000..b7583d7e80d4 --- /dev/null +++ b/sys-apps/azure-nvme-utils/azure-nvme-utils-0.1.2_p20240502.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake udev + +COMMIT="cbf8c65d0d792b7dfc02dcaa55d5ec3077464ee6" +DESCRIPTION="Utility to help identify Azure NVMe devices" +HOMEPAGE="https://github.com/Azure/azure-nvme-utils" +#SRC_URI="https://github.com/Azure/${PN}/archive/refs/tags/v${PV}/${P}.tar.gz" +SRC_URI="https://github.com/Azure/${PN}/archive/${COMMIT}/${P}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc +lun-fallback" + +BDEPEND=" + doc? ( app-text/pandoc ) +" + +src_configure() { + local mycmakeargs=( + -DAZURE_LUN_CALCULATION_BY_NSID_ENABLED=$(usex lun-fallback) + -DUDEV_RULES_INSTALL_DIR="$(get_udevdir)/rules.d" + -DPANDOC_EXECUTABLE="$(usex doc "${BROOT}"/usr/bin/pandoc no)" + ) + cmake_src_configure +} diff --git a/sys-apps/azure-nvme-utils/metadata.xml b/sys-apps/azure-nvme-utils/metadata.xml new file mode 100644 index 000000000000..f6dc52150140 --- /dev/null +++ b/sys-apps/azure-nvme-utils/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chewi@gentoo.org</email> + <name>James Le Cuirot</name> + </maintainer> + <upstream> + <remote-id type="github">Azure/azure-nvme-utils</remote-id> + </upstream> + <use> + <flag name="lun-fallback">Enable fallback LUN calculation via NSID</flag> + </use> +</pkgmetadata> |