summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-kernel/genkernel-next/Manifest1
-rw-r--r--sys-kernel/genkernel-next/genkernel-next-63.ebuild62
-rw-r--r--sys-kernel/genkernel-next/metadata.xml15
3 files changed, 78 insertions, 0 deletions
diff --git a/sys-kernel/genkernel-next/Manifest b/sys-kernel/genkernel-next/Manifest
new file mode 100644
index 00000000..4d49a13e
--- /dev/null
+++ b/sys-kernel/genkernel-next/Manifest
@@ -0,0 +1 @@
+DIST genkernel-next-63.tar.xz 2287136 SHA256 5a4f410ee3b7bb89d2d494190588c1ff572a027826502cbae312d548d07a126e SHA512 39dcfd0c4f5bd880cac2360f4792e7913ff20ed740a27358d14ba6653b4e4b4fc5a3b0983a62ebafec6882d0a5d0f7707b273ef60bfa153d9a26ea11f4f0f068 WHIRLPOOL 26d57d1d55aa9c49960d1d2b0d90341ff32078d40d5e77db804a24f24f3afbf8b3e476eb3e022752f5fbbf56371d30bd2e6dad160822496bc10c105b7072bba0
diff --git a/sys-kernel/genkernel-next/genkernel-next-63.ebuild b/sys-kernel/genkernel-next/genkernel-next-63.ebuild
new file mode 100644
index 00000000..a708caab
--- /dev/null
+++ b/sys-kernel/genkernel-next/genkernel-next-63.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel-next/genkernel-next-60.ebuild,v 1.1 2015/01/20 08:25:58 lxnay Exp $
+
+EAPI=5
+
+if [[ "${PV}" != "9999" ]]; then
+ SRC_URI="http://dev.gentoo.org/~lxnay/genkernel-next/${P}.tar.xz"
+else
+ EGIT_REPO_URI="git://github.com/Sabayon/genkernel-next.git"
+ inherit git-2
+fi
+inherit bash-completion-r1 eutils
+
+if [[ "${PV}" == "9999" ]]; then
+ KEYWORDS=""
+else
+ KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~x86"
+fi
+
+DESCRIPTION="Gentoo automatic kernel building scripts, reloaded"
+HOMEPAGE="http://www.gentoo.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+RESTRICT=""
+IUSE="cryptsetup dmraid gpg iscsi plymouth selinux"
+
+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 )
+ 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() {
+ sed -i "/^GK_V=/ s:GK_V=.*:GK_V=${PV}:g" "${S}/genkernel" || \
+ die "Could not setup release"
+
+ epatch_user
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ doman "${S}"/genkernel.8 || die "doman"
+ dodoc "${S}"/AUTHORS || die "dodoc"
+
+ newbashcomp "${S}"/genkernel.bash genkernel
+}
diff --git a/sys-kernel/genkernel-next/metadata.xml b/sys-kernel/genkernel-next/metadata.xml
new file mode 100644
index 00000000..0a4a1a4e
--- /dev/null
+++ b/sys-kernel/genkernel-next/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+<maintainer>
+ <email>lxnay@gentoo.org</email>
+</maintainer>
+<use>
+ <flag name='cryptsetup'>Enable support for Luks disk enrcyption using <pkg>sys-fs/cryptsetup</pkg></flag>
+ <flag name='dmraid'>Enable support for DMRAID (include dmraid dependency)</flag>
+ <flag name='gpg'>Enable support for GPG (include gnupg dependency)</flag>
+ <flag name='iscsi'>Enable support for open-iscsi (include open-iscsi dependency)</flag>
+ <flag name='plymouth'>Enable support for Plymouth (include Plymouth dependency)</flag>
+</use>
+</pkgmetadata>