void-packages/srcpkgs/earlyoom/template
2020-10-15 13:16:19 +02:00

22 lines
589 B
Bash

# Template file for 'earlyoom'
pkgname=earlyoom
version=1.6.2
revision=1
build_style=gnu-makefile
make_check_target=test
hostmakedepends="pandoc"
checkdepends="go"
short_desc="Userspace Early OOM Daemon for Linux"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://github.com/rfjakob/earlyoom"
distfiles="https://github.com/rfjakob/${pkgname}/archive/v${version}.tar.gz"
checksum=227234cf9e77831c21c748bd361e1a7c415e158b96034eacd59e70586779bb6c
CFLAGS="-DVERSION='\"${version}\"'"
do_install() {
vbin earlyoom
vman earlyoom.1
vsv earlyoom
vlicense LICENSE
}