void-packages/srcpkgs/growlight/template

31 lines
1.1 KiB
Bash
Raw Normal View History

2020-11-17 14:54:10 +00:00
# Template file for 'growlight'
pkgname=growlight
2021-05-09 22:34:20 +00:00
version=1.2.33
2020-11-28 14:10:52 +00:00
revision=1
2020-11-17 14:54:10 +00:00
build_style=cmake
2020-11-24 02:52:46 +00:00
configure_args="$(vopt_bool zfs USE_LIBZFS) $(vopt_bool man USE_PANDOC)"
hostmakedepends="pkg-config $(vopt_if man pandoc)"
2020-11-17 14:54:10 +00:00
makedepends="libatasmart-devel libblkid-devel libcap-devel cryptsetup-devel
nettle-devel notcurses-devel libpciaccess-devel eudev-libudev-devel zlib-devel
2020-11-28 14:10:52 +00:00
device-mapper-devel pciutils-devel doctest-devel $(vopt_if zfs zfs-devel)"
2020-11-17 14:54:10 +00:00
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>"
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"
2021-05-09 22:34:20 +00:00
checksum=ef26904412ff6134018c350fe9e1f943d37fb82a623d06327195f9bd2b939408
2020-11-22 13:34:43 +00:00
2020-11-24 02:52:46 +00:00
build_options="man zfs"
desc_option_man="Use pandoc for manpages"
desc_option_zfs="Build with ZFS Support"
case "$XBPS_MACHINE" in
2021-01-01 18:23:40 +00:00
x86_64*|i686|ppc64le*) build_options_default="man" ;;
2020-11-24 02:52:46 +00:00
esac
2020-11-22 13:34:43 +00:00
pre_configure() {
vsed -i 's#sbin#bin#' CMakeLists.txt
}