2017-02-05 15:32:58 +01:00
|
|
|
# Template file for 'earlyoom'
|
|
|
|
pkgname=earlyoom
|
2018-01-29 11:47:40 +01:00
|
|
|
version=1.0
|
2018-02-01 14:22:27 +01:00
|
|
|
revision=2
|
2017-09-28 13:21:37 +02:00
|
|
|
build_style=gnu-makefile
|
|
|
|
short_desc="Userspace Early OOM Daemon for Linux"
|
2017-02-05 15:32:58 +01:00
|
|
|
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"
|
2018-01-29 11:47:40 +01:00
|
|
|
checksum=0bc278a3744f454f3a29835a4ef939498d7044b78d490aff7f5a6ab6596bb0cb
|
2017-02-05 15:32:58 +01:00
|
|
|
|
|
|
|
do_build() {
|
|
|
|
${CC} ${CFLAGS} -DVERSION='"'$version'"' -o earlyoom *.c ${LDFLAGS}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vbin earlyoom
|
2017-09-28 13:21:37 +02:00
|
|
|
vman earlyoom.1
|
2017-02-05 15:32:58 +01:00
|
|
|
vsv earlyoom
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|