forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sys-kernel/genkernel-next: version bump to 65
Package-Manager: portage-2.3.1
- Loading branch information
Showing
2 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST genkernel-next-63.tar.xz 2287136 SHA256 5a4f410ee3b7bb89d2d494190588c1ff572a027826502cbae312d548d07a126e SHA512 39dcfd0c4f5bd880cac2360f4792e7913ff20ed740a27358d14ba6653b4e4b4fc5a3b0983a62ebafec6882d0a5d0f7707b273ef60bfa153d9a26ea11f4f0f068 WHIRLPOOL 26d57d1d55aa9c49960d1d2b0d90341ff32078d40d5e77db804a24f24f3afbf8b3e476eb3e022752f5fbbf56371d30bd2e6dad160822496bc10c105b7072bba0 | ||
DIST genkernel-next-64.tar.gz 2400935 SHA256 db8d7761947a2c538893677795a96e22a8318da2c4335bad79b4bdcbc9f27e8b SHA512 2a01f080ef2cecedd5b0857a4b9cb0f2d7dfdcff5a988155691dea90f34ce6f1440b6767afc4a1febd170d8b883c4ea216c7a54d60f8abbe56ac7fa7448189fa WHIRLPOOL 8f70b6cbddb850d2fe745a1d43cfeb9aacbd128432a75e2450ac96f12e66cbaa6d7612e64752aaa8d291c3217935f143c549c1f9e28196eaf48e8c2a9cdde1ab | ||
DIST genkernel-next-65.tar.gz 2402179 SHA256 f12f4291f75b9078d1d81cfa047efb3d60ea42dc5e956a20c701c6a9e0f271d3 SHA512 a65770f122617a5e15bd1eefee7b72fee1ad6468d3d51195b1798e48d507b27088b6fa2bb719f579847c73a639be066170b497c3d8d86d2738236a6981188bbc WHIRLPOOL 42a754b1d21dc651955d6533e66555824a2a431c5ddd1c19983a8993841fc7e73b1955e83e0cc2321a91b354f69aff2bb4e6785e56302c96f99cf2f2153c4d5d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=6 | ||
|
||
if [[ "${PV}" != "9999" ]]; then | ||
SRC_URI="https://github.com/Sabayon/genkernel-next/archive/v${PV}.tar.gz -> ${P}.tar.gz" | ||
RESTRICT="mirror" | ||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86" | ||
else | ||
EGIT_REPO_URI="git://github.com/Sabayon/genkernel-next.git" | ||
inherit git-2 | ||
KEYWORDS="~amd64 ~ppc ~x86" | ||
RESTRICT="" | ||
fi | ||
inherit bash-completion-r1 | ||
|
||
DESCRIPTION="Gentoo automatic kernel building scripts, reloaded" | ||
HOMEPAGE="http://www.gentoo.org" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
|
||
IUSE="cryptsetup dmraid gpg iscsi mdadm plymouth selinux" | ||
DOCS=( AUTHORS ) | ||
|
||
DEPEND="app-text/asciidoc | ||
sys-fs/e2fsprogs | ||
!sys-fs/eudev[-kmod,modutils] | ||
selinux? ( sys-libs/libselinux )" | ||
RDEPEND="${DEPEND} | ||
!sys-kernel/genkernel | ||
cryptsetup? ( sys-fs/cryptsetup ) | ||
dmraid? ( >=sys-fs/dmraid-1.0.0_rc16 ) | ||
gpg? ( app-crypt/gnupg ) | ||
iscsi? ( sys-block/open-iscsi ) | ||
mdadm? ( sys-fs/mdadm ) | ||
plymouth? ( sys-boot/plymouth ) | ||
app-portage/portage-utils | ||
app-arch/cpio | ||
>=app-misc/pax-utils-0.6 | ||
!<sys-apps/openrc-0.9.9 | ||
sys-apps/util-linux | ||
sys-block/thin-provisioning-tools | ||
sys-fs/lvm2" | ||
|
||
src_prepare() { | ||
default | ||
sed -i "/^GK_V=/ s:GK_V=.*:GK_V=${PV}:g" "${S}/genkernel" || \ | ||
die "Could not setup release" | ||
} | ||
|
||
src_install() { | ||
default | ||
|
||
doman "${S}"/genkernel.8 | ||
|
||
newbashcomp "${S}"/genkernel.bash genkernel | ||
} |