summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2016-10-23 22:26:49 +0200
committerMartin Väth <martin@mvath.de>2016-10-23 22:26:49 +0200
commitb9b8e7ed77fea5b4d228799bb1f751ea4f00638d (patch)
treeac480b24884526dc6f8f9d767587726c4110633f /sys-block
parentapp-emacs/po-mode: EAPI=6 (diff)
downloadmv-b9b8e7ed77fea5b4d228799bb1f751ea4f00638d.tar.gz
mv-b9b8e7ed77fea5b4d228799bb1f751ea4f00638d.tar.bz2
mv-b9b8e7ed77fea5b4d228799bb1f751ea4f00638d.zip
sys-block/zram-init: Version bump
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/zram-init/Manifest2
-rw-r--r--sys-block/zram-init/zram-init-4.0.0.ebuild (renamed from sys-block/zram-init/zram-init-3.8.1.ebuild)5
2 files changed, 5 insertions, 2 deletions
diff --git a/sys-block/zram-init/Manifest b/sys-block/zram-init/Manifest
index 9595145f..80614918 100644
--- a/sys-block/zram-init/Manifest
+++ b/sys-block/zram-init/Manifest
@@ -1 +1 @@
-DIST zram-init-3.8.1.tar.gz 6622 SHA256 fd518f84eadf65a316f7b33a0d3516efa781c24739d5f9fa1737dafcfad2dddb
+DIST zram-init-4.0.0.tar.gz 7818 SHA256 1016cc58b0b39c9e196521cdb84af0e1e61774c9e3355a5ecd65b352e6574767
diff --git a/sys-block/zram-init/zram-init-3.8.1.ebuild b/sys-block/zram-init/zram-init-4.0.0.ebuild
index 4866500b..399cf973 100644
--- a/sys-block/zram-init/zram-init-3.8.1.ebuild
+++ b/sys-block/zram-init/zram-init-4.0.0.ebuild
@@ -14,7 +14,8 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND="!<sys-apps/openrc-0.13"
+RDEPEND="app-shells/push
+ !<sys-apps/openrc-0.13"
DISABLE_AUTOFORMATTING="true"
DOC_CONTENTS="To use zram, activate it in your kernel and add it to default runlevel:
@@ -22,6 +23,7 @@ DOC_CONTENTS="To use zram, activate it in your kernel and add it to default runl
If you use systemd enable zram_swap, tmp, and/or var_tmp with systemctl.
You might need to modify /etc/modprobe.d/zram.conf"
+
src_prepare() {
use prefix || sed -i \
-e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \
@@ -38,6 +40,7 @@ src_install() {
doins modprobe.d/*
insinto /usr/share/zsh/site-functions
doins zsh/*
+ dodoc AUTHORS ChangeLog README
readme.gentoo_create_doc
}