From 21d6c9f32d1dca6e8149cdf8169d960cca7577d8 Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 15 Jun 2009 17:52:16 +0100 Subject: Use eclass to handle libre-linux ebuilds --- .../libre-sources/libre-sources-2.6.30.ebuild | 27 +++------------------- 1 file changed, 3 insertions(+), 24 deletions(-) (limited to 'sys-kernel/libre-sources') diff --git a/sys-kernel/libre-sources/libre-sources-2.6.30.ebuild b/sys-kernel/libre-sources/libre-sources-2.6.30.ebuild index 25a9ef5..dfc113c 100644 --- a/sys-kernel/libre-sources/libre-sources-2.6.30.ebuild +++ b/sys-kernel/libre-sources/libre-sources-2.6.30.ebuild @@ -1,32 +1,11 @@ K_SECURITY_UNSUPPORTED="1" ETYPE="sources" -inherit kernel-2 +inherit kernel-libre detect_version DESCRIPTION="Full sources for the BLOB free version of the Linux kernel" HOMEPAGE="http://www.fsfla.org/svnwiki/selibre/linux-libre/" -SRC_URI="http://www.linux-libre.fsfla.org/pub/linux-libre/releases/${PV}-libre/linux-${PV}-libre.tar.bz2" +SRC_URI="${LIBREKERNEL_URI}" KEYWORDS="~amd64 ~x86" - -src_unpack() { - # kernel revision patches included in tarball - UNIPATCH_LIST_DEFAULT="" - - # universal_unpack expects a different kernel tarball name - expected_tarball=${DISTDIR}/linux-${OKV}.tar.bz2 - - # temporarily move any preexisting kernel tarball - [[ -f $expected_tarball ]] && \ - mv $expected_tarball ${expected_tarball}-original - - ln -sf ${DISTDIR}/linux-${KV_FULL}.tar.bz2 $expected_tarball - - kernel-2_src_unpack - - rm $expected_tarball - - # put any preexisting tarball back in its original location - [[ -f ${expected_tarball}-original ]] && \ - mv ${expected_tarball}-original $expected_tarball -} +IUSE="" -- cgit v1.2.3