void-packages/srcpkgs/growlight/template
Đoàn Trần Công Danh 9978e00086 srcpkgs: remove patch_args=-Np1 en-mass
git grep -l '^patch_args=.*p1' 'srcpkgs/*/template'  |
	xargs -r sed -i '/^patch_args=/d'
2021-06-20 13:17:29 +07:00

30 lines
1.1 KiB
Bash

# Template file for 'growlight'
pkgname=growlight
version=1.2.33
revision=1
build_style=cmake
configure_args="$(vopt_bool zfs USE_LIBZFS) $(vopt_bool man USE_PANDOC)"
hostmakedepends="pkg-config $(vopt_if man 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 doctest-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>"
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=ef26904412ff6134018c350fe9e1f943d37fb82a623d06327195f9bd2b939408
build_options="man zfs"
desc_option_man="Use pandoc for manpages"
desc_option_zfs="Build with ZFS Support"
case "$XBPS_MACHINE" in
x86_64*|i686|ppc64le*) build_options_default="man" ;;
esac
pre_configure() {
vsed -i 's#sbin#bin#' CMakeLists.txt
}