growlight: optional pandoc
This commit is contained in:
parent
bc2d0e4d76
commit
8690cd6e44
1 changed files with 12 additions and 6 deletions
|
@ -1,10 +1,10 @@
|
|||
# Template file for 'growlight'
|
||||
pkgname=growlight
|
||||
version=1.2.21
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
configure_args="$(vopt_bool zfs USE_LIBZFS)"
|
||||
hostmakedepends="pkg-config pandoc"
|
||||
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 $(vopt_if zfs zfs-devel)"
|
||||
|
@ -16,9 +16,15 @@ homepage="https://nick-black.com/dankwiki/index.php/Growlight"
|
|||
distfiles="https://github.com/dankamongmen/growlight/archive/v${version}.tar.gz"
|
||||
checksum=a225266b98a7c438a04d79951b3a58834027fcc6174baa31e315265b2e7b1d30
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
build_options="zfs"
|
||||
desc_option_zfs="Build with ZFS Support"
|
||||
|
|
Loading…
Reference in a new issue