# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="3" ETYPE="sources" K_WANT_GENPATCHES="" K_PREDEBLOBBED="true" PYTHON_DEPEND="2" inherit kernel-2 python detect_version detect_arch DEBIAN_REVISION="29" SOURCE_PATCH="linux-2.6_${PV}-${DEBIAN_REVISION}.diff.gz" DESCRIPTION="Kernel sources along with configuration files from Debian" HOMEPAGE="http://www.debian.org/" SRC_URI="${KERNEL_URI} mirror://debian/pool/main/l/linux-2.6/${SOURCE_PATCH}" UNIPATCH_LIST="${DISTDIR}/${SOURCE_PATCH}" LICENSE="GPL-2" IUSE="" KEYWORDS="~amd64 ~x86" RDEPEND="${RDEPEND}" DEPEND="${DEPEND} dev-util/unifdef" K_NOSETEXTRAVERSION="true" K_EXTRAELOG="Configuration files have been installed to /usr/share/doc/${PF}/" K_SECURITY_UNSUPPORTED="1" src_prepare() { DEBIAN_DIR="${S}/debian" mv "linux-2.6-${PV}/debian" . einfo "Applying orig-0 patchset" export PYTHONPATH="${DEBIAN_DIR}/lib/python/" cat > "${DEBIAN_DIR}/bin/apply-orig" <