void-packages/srcpkgs/earlyoom/template
2017-09-28 13:33:22 +02:00

22 lines
571 B
Bash

# Template file for 'earlyoom'
pkgname=earlyoom
version=0.12
revision=1
build_style=gnu-makefile
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=854c4b2d02cf630db6128eb46275416b97fc48c917c7f9f9af9b84c8065da09e
do_build() {
${CC} ${CFLAGS} -DVERSION='"'$version'"' -o earlyoom *.c ${LDFLAGS}
}
do_install() {
vbin earlyoom
vman earlyoom.1
vsv earlyoom
vlicense LICENSE
}