summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process/earlyoom/earlyoom-1.0.ebuild')
-rw-r--r--sys-process/earlyoom/earlyoom-1.0.ebuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-process/earlyoom/earlyoom-1.0.ebuild b/sys-process/earlyoom/earlyoom-1.0.ebuild
new file mode 100644
index 0000000..dabe83c
--- /dev/null
+++ b/sys-process/earlyoom/earlyoom-1.0.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Early out-of-memory killer that runs in user-space"
+HOMEPAGE="https://github.com/rfjakob/earlyoom"
+SRC_URI="https://github.com/rfjakob/earlyoom/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_install() {
+ dobin earlyoom
+ doinitd "${FILESDIR}/earlyoom"
+}