growlight: make zfs optional

This commit is contained in:
Michael Aldridge 2020-11-21 23:07:30 -08:00
parent 868b9a078d
commit cf0567250d

View file

@ -1,12 +1,13 @@
# Template file for 'growlight'
pkgname=growlight
version=1.2.18
revision=1
revision=2
build_style=cmake
configure_args="$(vopt_bool zfs USE_LIBZFS)"
hostmakedepends="pkg-config pandoc"
makedepends="libatasmart-devel libblkid-devel libcap-devel cryptsetup-devel
nettle-devel notcurses-devel libpciaccess-devel eudev-libudev-devel zlib-devel
device-mapper-devel pciutils-devel zfs-devel"
device-mapper-devel pciutils-devel $(vopt_if zfs zfs-devel)"
depends="ntfs-3g jfsutils xfsprogs nvme-cli hdparm f2fs-tools btrfs-progs e2fsprogs"
short_desc="Block device manager and system installation tool"
maintainer="mobinmob <mobinmob@disroot.org>"
@ -14,3 +15,6 @@ license="GPL-3.0-or-later"
homepage="https://nick-black.com/dankwiki/index.php/Growlight"
distfiles="https://github.com/dankamongmen/growlight/archive/v${version}.tar.gz"
checksum=c6c08556e6838226b81300e177c49d7a382e9eb30cfdb19f99790106e426a032
build_options="zfs"
desc_option_zfs="Build with ZFS Support"