2014-06-06 18:49:12 +04:00
|
|
|
# Copyright 1999-2013 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
2021-05-28 13:42:01 +03:00
|
|
|
EAPI="6"
|
2014-06-06 18:49:12 +04:00
|
|
|
ETYPE="sources"
|
|
|
|
inherit kernel-2
|
|
|
|
detect_version
|
|
|
|
detect_arch
|
|
|
|
|
|
|
|
KEYWORDS="-* ~amd64 ~x86"
|
2018-03-28 16:35:24 +03:00
|
|
|
HOMEPAGE="https://git.backbone.ws/kolan/backbone-sources"
|
2014-06-06 18:49:12 +04:00
|
|
|
SLOT="3.11.10"
|
|
|
|
PROVIDE="virtual/linux-sources"
|
|
|
|
|
2015-08-02 13:35:28 +03:00
|
|
|
DESCRIPTION="Full kernel sources including Zen, TuxOnIce, Gcc, BLD, UKSM for ${KV_MAJOR}.${KV_MINOR} kernel tree"
|
2018-03-28 16:35:24 +03:00
|
|
|
SRC_URI="https://git.backbone.ws/kolan/backbone-sources/archive/v${PVR}.tar.gz -> linux-backbone-${PVR}.tar.gz"
|
2014-06-06 18:49:12 +04:00
|
|
|
|
|
|
|
src_unpack() {
|
|
|
|
tar -xf ${DISTDIR}/linux-backbone-${PVR}.tar.gz
|
|
|
|
if [[ ${PR} != "r0" ]]; then REV="-${PR}"; fi
|
2018-03-28 22:00:01 +03:00
|
|
|
mv ${WORKDIR}/backbone-sources ${WORKDIR}/linux-${PV}-backbone${REV}
|
2014-06-06 18:49:12 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|