23 lines
587 B
Bash
23 lines
587 B
Bash
# Template file for 'earlyoom'
|
|
pkgname=earlyoom
|
|
version=1.6
|
|
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=b81804fc4470f996014d52252a87a1cf3b43d3d8754140035b10dcee349302b8
|
|
CFLAGS="-DVERSION='\"${version}\"'"
|
|
|
|
do_install() {
|
|
vbin earlyoom
|
|
vman earlyoom.1
|
|
vsv earlyoom
|
|
vlicense LICENSE
|
|
}
|