diff options
author | Michał Górny <mgorny@gentoo.org> | 2014-10-25 11:46:19 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2014-10-25 11:46:19 +0000 |
commit | d0c12afe89dc0293bc161785f8cdd1da8c8ca9c4 (patch) | |
tree | 865af0d407f2f01edfca9e6d41f50a82c4e3b1dd /sys-kernel/genkernel-next | |
parent | Mask sys-kernel/genkernel-next for bashcomp update, and use >= atoms for all ... (diff) | |
download | gentoo-2-d0c12afe89dc0293bc161785f8cdd1da8c8ca9c4.tar.gz gentoo-2-d0c12afe89dc0293bc161785f8cdd1da8c8ca9c4.tar.bz2 gentoo-2-d0c12afe89dc0293bc161785f8cdd1da8c8ca9c4.zip |
Install completion using the correct name, bug #526336.
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'sys-kernel/genkernel-next')
-rw-r--r-- | sys-kernel/genkernel-next/ChangeLog | 7 | ||||
-rw-r--r-- | sys-kernel/genkernel-next/genkernel-next-58-r1.ebuild | 62 |
2 files changed, 68 insertions, 1 deletions
diff --git a/sys-kernel/genkernel-next/ChangeLog b/sys-kernel/genkernel-next/ChangeLog index 1990cb5d2ae3..dca7d4a7cff7 100644 --- a/sys-kernel/genkernel-next/ChangeLog +++ b/sys-kernel/genkernel-next/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-kernel/genkernel-next # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel-next/ChangeLog,v 1.44 2014/07/20 08:35:44 klausman Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel-next/ChangeLog,v 1.45 2014/10/25 11:46:19 mgorny Exp $ + +*genkernel-next-58-r1 (25 Oct 2014) + + 25 Oct 2014; Michał Górny <mgorny@gentoo.org> +genkernel-next-58-r1.ebuild: + Install completion using the correct name, bug #526336. 20 Jul 2014; Tobias Klausmann <klausman@gentoo.org> genkernel-next-58.ebuild: Keyworded on alpha, bug #506888 diff --git a/sys-kernel/genkernel-next/genkernel-next-58-r1.ebuild b/sys-kernel/genkernel-next/genkernel-next-58-r1.ebuild new file mode 100644 index 000000000000..a86a754143f1 --- /dev/null +++ b/sys-kernel/genkernel-next/genkernel-next-58-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel-next/genkernel-next-58-r1.ebuild,v 1.1 2014/10/25 11:46:19 mgorny 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 +} |