# Template file for 'earlyoom' pkgname=earlyoom version=1.7 revision=1 build_style=gnu-makefile make_check_target=test hostmakedepends="$(vopt_if man pandoc)" checkdepends="go" short_desc="Userspace Early OOM Daemon for Linux" maintainer="Leah Neukirchen " license="MIT" homepage="https://github.com/rfjakob/earlyoom" distfiles="https://github.com/rfjakob/${pkgname}/archive/v${version}.tar.gz" checksum=ebda1279a813d9b0f7860ce5029ccf5ea9f8868be070f2eaf40f90f2e64b6414 CFLAGS="-DVERSION='\"${version}\"'" build_options="man" desc_option_man="Use pandoc for manpages" case "$XBPS_MACHINE" in x86_64*|i686|ppc64le*|ppc64) build_options_default="man" ;; esac do_install() { vbin earlyoom if [ "$build_option_man" ]; then vman earlyoom.1 fi vsv earlyoom vlicense LICENSE }