2017-07-07 17:36:00 +03:00
|
|
|
# Copyright 1999-2013 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI="5"
|
|
|
|
ETYPE="sources"
|
|
|
|
inherit kernel-2
|
|
|
|
detect_version
|
|
|
|
detect_arch
|
|
|
|
|
|
|
|
KEYWORDS="-* ~amd64 ~x86"
|
|
|
|
HOMEPAGE="https://git.backbone.ws/linux/backbone-sources"
|
2017-09-11 10:55:46 +03:00
|
|
|
SLOT="4.13"
|
2017-07-07 17:36:00 +03:00
|
|
|
PROVIDE="virtual/linux-sources"
|
|
|
|
|
|
|
|
DESCRIPTION="Full kernel sources including Zen, TuxOnIce, Gcc, BLD, cjktty for ${KV_MAJOR}.${KV_MINOR} kernel tree"
|
|
|
|
SRC_URI="https://git.backbone.ws/linux/backbone-sources/archive/v${PVR}.tar.gz -> linux-backbone-${PVR}.tar.gz"
|
|
|
|
|
|
|
|
src_unpack() {
|
|
|
|
tar -xf ${DISTDIR}/linux-backbone-${PVR}.tar.gz
|
|
|
|
if [[ ${PR} != "r0" ]]; then REV="-${PR}"; fi
|
|
|
|
mv ${WORKDIR}/linux-backbone-sources ${WORKDIR}/linux-${PV}-backbone${REV}
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
kernel-2_pkg_postinst
|
|
|
|
einfo "For more info on this patchset, and how to report problems, see:"
|
|
|
|
einfo "${HOMEPAGE}"
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postrm() {
|
|
|
|
kernel-2_pkg_postrm
|
|
|
|
}
|