forked from hasufell/hasufell-repository
sys-apps/earlyoom: bump to 1.2
This commit is contained in:
37
packages/sys-apps/earlyoom/earlyoom-1.2.exheres-0
Normal file
37
packages/sys-apps/earlyoom/earlyoom-1.2.exheres-0
Normal 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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user