# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.44.2.ebuild,v 1.1 2012/10/15 21:00:37 robbat2 Exp $ # genkernel-9999 -> latest Git branch "master" # genkernel-VERSION -> normal genkernel release EAPI="3" VERSION_BUSYBOX='1.20.2' VERSION_DMRAID='1.0.0.rc16-3' VERSION_MDADM='3.1.5' VERSION_FUSE='2.8.6' VERSION_ISCSI='2.0-872' VERSION_LVM='2.02.88' VERSION_UNIONFS_FUSE='0.24' VERSION_GPG='1.4.11' VERSION_DROPBEAR='2012.55' RH_HOME="ftp://sources.redhat.com/pub" DM_HOME="http://people.redhat.com/~heinzm/sw/dmraid/src" BB_HOME="http://www.busybox.net/downloads" COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2 ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2 mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2 ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2 http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2 https://matt.ucc.asn.au/dropbear/dropbear-${VERSION_DROPBEAR}.tar.bz2" if [[ ${PV} == 9999* ]] then EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/${PN}.git http://git.overlays.gentoo.org/gitroot/proj/${PN}.git" inherit git-2 bash-completion-r1 eutils S="${WORKDIR}/${PN}" SRC_URI="${COMMON_URI}" KEYWORDS="" else inherit bash-completion-r1 eutils SRC_URI="mirror://gentoo/${P}.tar.bz2 ${COMMON_URI}" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" fi DESCRIPTION="Gentoo automatic kernel building scripts" HOMEPAGE="http://www.gentoo.org" LICENSE="GPL-2" SLOT="0" RESTRICT="" IUSE="crypt cryptsetup ibm selinux" # Keep 'crypt' in to keep 'use crypt' below working! DEPEND="sys-fs/e2fsprogs selinux? ( sys-libs/libselinux )" RDEPEND="${DEPEND} cryptsetup? ( sys-fs/cryptsetup ) app-arch/cpio >=app-misc/pax-utils-0.2.1 !