1 # Copyright 1999-2018 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 DESCRIPTION="NVM-Express user space tooling for Linux"
9 HOMEPAGE="https://github.com/linux-nvme/nvme-cli"
10 SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
18 RDEPEND="uuid? ( sys-apps/util-linux:= )"
23 sed -i 's:^LIBUUID =:LIBUUID ?=:' -i Makefile || die
28 export PREFIX="${EPREFIX}/usr"
29 MAKEOPTS+=" LIBUUID=$(usex uuid 0 1)"