You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
628 B
29 lines
628 B
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit meson
|
|
|
|
DESCRIPTION="C Library for NVM Express on Linux"
|
|
HOMEPAGE="https://github.com/linux-nvme/libnvme"
|
|
LICENSE="LGPL-2.1+"
|
|
SLOT="0"
|
|
IUSE="+json ssl +uuid"
|
|
|
|
SRC_URI="https://github.com/linux-nvme/libnvme/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
|
DEPEND="
|
|
json? ( dev-libs/json-c:= )
|
|
ssl? ( >=dev-libs/openssl-1.1:= )
|
|
uuid? ( sys-apps/util-linux:= )
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_configure() {
|
|
local emesonargs=(
|
|
-Dpython=false
|
|
)
|
|
meson_src_configure
|
|
}
|