# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/raspberrypi-image/raspberrypi-image-3.6.11_p20130711.ebuild,v 1.2 2013/07/15 16:39:59 xmw Exp $ EAPI=5 inherit vcs-snapshot DESCRIPTION="Raspberry PI precompiled kernel and modules" HOMEPAGE="https://github.com/raspberrypi/firmware" MY_COMMIT="ba8059e890" SRC_URI="https://github.com/raspberrypi/firmware/tarball/${MY_COMMIT} -> raspberrypi-firmware-${MY_COMMIT}.tar.gz" LICENSE="GPL-2 raspberrypi-videocore-bin" SLOT="3.6.11" KEYWORDS="~arm -*" IUSE="doc" S=${WORKDIR}/raspberrypi-firmware-${MY_COMMIT} RESTRICT="binchecks strip" src_install() { insinto /boot local suffix for suffix in "" "_emergency" ; do newins boot/kernel${suffix}.img kernel-${SLOT}${suffix}+.img newins extra/System${suffix}.map System-${SLOT}${suffix}+.map newins extra/Module${suffix}.symvers Module-${SLOT}${suffix}+.symvers done insinto /lib/modules doins -r modules/${SLOT}+ if use doc ; then dohtml documentation/ilcomponents/* fi }