void-packages/srcpkgs/earlyoom/template
2018-02-01 16:11:57 +01:00

22 lines
570 B
Bash

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