sys-block/systemd-swap: add 4.4.0, 9999
This commit is contained in:
parent
240ec5d835
commit
3f4d84306b
1
sys-block/systemd-swap/Manifest
Normal file
1
sys-block/systemd-swap/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST systemd-swap-4.4.0.tar.gz 29066 BLAKE2B 7278b0f5fac52039c91e901f29d72275e5ce4579001926f3d105c3f4bad026d2bcd21106d4006e9e971f92ecd66b81716b8e92f291230776de78e8fcd2580252 SHA512 39cf297d0d82f4d5fbae64f323bda2c286dd24665321892f068dc5bceea4ea5ddcacdcef14576cab869edbed7d258de759baec36535403051bb2b925406db0b3
|
11
sys-block/systemd-swap/metadata.xml
Normal file
11
sys-block/systemd-swap/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>themainone@mailu.io</email>
|
||||
<name>TheMainOne</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">Nefelim4ag/systemd-swap</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
25
sys-block/systemd-swap/systemd-swap-4.4.0.ebuild
Normal file
25
sys-block/systemd-swap/systemd-swap-4.4.0.ebuild
Normal file
@ -0,0 +1,25 @@
|
||||
# Copyright 2019-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit linux-info systemd
|
||||
|
||||
DESCRIPTION="Script for creating swap space from zram swaps, swap files and swap partitions."
|
||||
HOMEPAGE="https://github.com/Nefelim4ag/systemd-swap/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/Nefelim4ag/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/Nefelim4ag/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
CONFIG_CHECK="~ZRAM ~ZSWAP"
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${ED}/" install
|
||||
}
|
25
sys-block/systemd-swap/systemd-swap-9999.ebuild
Normal file
25
sys-block/systemd-swap/systemd-swap-9999.ebuild
Normal file
@ -0,0 +1,25 @@
|
||||
# Copyright 2019-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit linux-info systemd
|
||||
|
||||
DESCRIPTION="Script for creating swap space from zram swaps, swap files and swap partitions."
|
||||
HOMEPAGE="https://github.com/Nefelim4ag/systemd-swap/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/Nefelim4ag/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/Nefelim4ag/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
CONFIG_CHECK="~ZRAM ~ZSWAP"
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${ED}/" install
|
||||
}
|
Loading…
Reference in New Issue
Block a user