diff options
author | Jason Zaman <perfinion@gentoo.org> | 2019-04-29 21:48:44 +0800 |
---|---|---|
committer | Jason Zaman <perfinion@gentoo.org> | 2019-04-29 22:22:53 +0800 |
commit | 8928deaa4eaae250ef4e0e35bbb59ab13f874f2d (patch) | |
tree | eb633a2cce9955635fe8883aa62a6d3e5361215d /sys-block/zram-init/zram-init-3.8.ebuild | |
parent | sys-block/zram-init: stable 8.1 (diff) | |
download | gentoo-8928deaa4eaae250ef4e0e35bbb59ab13f874f2d.tar.gz gentoo-8928deaa4eaae250ef4e0e35bbb59ab13f874f2d.tar.bz2 gentoo-8928deaa4eaae250ef4e0e35bbb59ab13f874f2d.zip |
sys-block/zram-init: drop old
Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'sys-block/zram-init/zram-init-3.8.ebuild')
-rw-r--r-- | sys-block/zram-init/zram-init-3.8.ebuild | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/sys-block/zram-init/zram-init-3.8.ebuild b/sys-block/zram-init/zram-init-3.8.ebuild deleted file mode 100644 index 5884a6fcbd00..000000000000 --- a/sys-block/zram-init/zram-init-3.8.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit readme.gentoo-r1 systemd - -DESCRIPTION="Scripts to support compressed swap devices or ramdisks with zram" -HOMEPAGE="https://github.com/vaeth/zram-init/" -SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" -IUSE="" - -RDEPEND="!<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"'"' \ - -- sbin/* || die - eapply_user -} - -src_install() { - dosbin sbin/* - 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/* - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog -} |