earlyoom: update to 1.1.

This commit is contained in:
maxice8 2018-07-07 20:41:02 -03:00 committed by Leah Neukirchen
parent ba85c06e41
commit 2058a84268

View file

@ -1,17 +1,19 @@
# Template file for 'earlyoom' # Template file for 'earlyoom'
pkgname=earlyoom pkgname=earlyoom
version=1.0 version=1.1
revision=2 revision=1
build_style=gnu-makefile build_style=gnu-makefile
make_check_target=test
checkdepends="go"
short_desc="Userspace Early OOM Daemon for Linux" short_desc="Userspace Early OOM Daemon for Linux"
maintainer="Leah Neukirchen <leah@vuxu.org>" maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT" license="MIT"
homepage="https://github.com/rfjakob/earlyoom" homepage="https://github.com/rfjakob/earlyoom"
distfiles="https://github.com/rfjakob/${pkgname}/archive/v${version}.tar.gz" distfiles="https://github.com/rfjakob/${pkgname}/archive/v${version}.tar.gz"
checksum=0bc278a3744f454f3a29835a4ef939498d7044b78d490aff7f5a6ab6596bb0cb checksum=10f700f4eac5322ae7c05520817450da25c2a492471305c8d79192f8fe21ab41
do_build() { do_build() {
${CC} ${CFLAGS} -DVERSION='"'$version'"' -o earlyoom *.c ${LDFLAGS} ${CC} ${CFLAGS} -DVERSION='"'v$version'"' -o earlyoom *.c ${LDFLAGS}
} }
do_install() { do_install() {