nvme-cli: use conf_files; get rid of unnecessary deps/CFLAGS.

This commit is contained in:
Juan RP 2020-02-14 20:11:46 +01:00
parent 220c0137d0
commit 68be27176a
No known key found for this signature in database
GPG key ID: AF19F6CB482F9368

View file

@ -1,22 +1,20 @@
# Template file for 'nvme-cli'
pkgname=nvme-cli
version=1.10.1
revision=1
revision=2
build_style=gnu-makefile
# yeah, it must be 0 to enable
make_build_args="LIBUUID=0"
make_install_args="SBINDIR=/usr/bin UDEVDIR=/usr/lib/udev"
make_install_target="install-spec"
makedepends="libuuid-devel"
depends="util-linux"
short_desc="NVMe management command line interface"
maintainer="Peter Froehlich <peter.hans.froehlich@gmail.com>"
license="GPL-2.0-only"
homepage="http://nvmexpress.org"
distfiles="https://github.com/linux-nvme/nvme-cli/archive/v${version}.tar.gz"
checksum=6be38485464e37fd822eba05eb3b47e792565350b2c0249a94528910cdc1ea31
CFLAGS="-Wno-error -I."
conf_files="/etc/nvme/*.conf"
post_install() {
# these files are touch'd by install, remove so they aren't registered