summaryrefslogtreecommitdiff
path: root/sys-block/zram-init/zram-init-8.1-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-block/zram-init/zram-init-8.1-r1.ebuild')
-rw-r--r--sys-block/zram-init/zram-init-8.1-r1.ebuild55
1 files changed, 0 insertions, 55 deletions
diff --git a/sys-block/zram-init/zram-init-8.1-r1.ebuild b/sys-block/zram-init/zram-init-8.1-r1.ebuild
deleted file mode 100644
index 74cb80aa2101..000000000000
--- a/sys-block/zram-init/zram-init-8.1-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit readme.gentoo-r1 systemd
-
-DESCRIPTION="Scripts to support compressed swap devices or ramdisks with zram"
-HOMEPAGE="https://github.com/vaeth/zram-init/"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE=""
-
-if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="https://github.com/vaeth/${PN}.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
-fi
-
-RDEPEND=">=app-shells/push-2.0
- !<sys-apps/openrc-0.13"
-
-DISABLE_AUTOFORMATTING="true"
-DOC_CONTENTS="To use zram, activate it in your kernel and add it to default runlevel:
- rc-config add zram default
-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"'"' \
- -e 's#PushA_=`push.sh 2>/dev/null`#PushA_=`cat '"${EPREFIX}"'/usr/share/push/push.sh`#' \
- -- sbin/zram-init || die
- default
-}
-
-src_install() {
- doinitd openrc/init.d/*
- doconfd openrc/conf.d/*
- systemd_dounit systemd/system/*
- insinto /etc/modprobe.d
- doins modprobe.d/*
- insinto /usr/share/zsh/site-functions
- doins zsh/*
- dodoc AUTHORS ChangeLog README.md
- readme.gentoo_create_doc
- into /
- dosbin sbin/*
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
-}