sys-apps/earlyoom: bump to 1.2

This commit is contained in:
2019-03-12 23:04:01 +08:00
parent ff107e0cb4
commit 7d30376303

View File

@@ -0,0 +1,37 @@
# Copyright 2016 Kylie McClain <somasis@exherbo.org>
# Distributed under the terms of the GNU General Public License v2
require github [ user='rfjakob' tag="v${PV}" ]
require systemd-service [ systemd_files=[ ${PN}.service ] ]
require openrc-service [ openrc_confd_files=[ "${FILES}"/openrc/confd ] ]
SUMMARY="A better and more proactive out-of-memory killer"
SLOT="0"
LICENCES="MIT"
DEPENDENCIES="
test:
dev-lang/go
"
MYOPTIONS=""
# tests never work in paludis/sydbox
RESTRICT="test"
PLATFORMS="~amd64"
src_compile() {
emake \
VERSION=${PV} \
PREFIX=/usr/$(exhost --target) \
${PN}.service ${PN}
}
src_install() {
dobin earlyoom
install_systemd_files
install_openrc_files
emagicdocs
}