void-packages/srcpkgs/earlyoom/template

23 lines
587 B
Bash

# Template file for 'earlyoom'
pkgname=earlyoom
version=1.3
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=2c605017d1208e43b92708e9bae623bc860b6ab2e5390c935e5e10ac932016f8
CFLAGS="-DVERSION='\"${version}\"'"
do_install() {
vbin earlyoom
vman earlyoom.1
vsv earlyoom
vlicense LICENSE
}