From 5898fe769d039856609162036af9444a3b6e00c0 Mon Sep 17 00:00:00 2001
From: Nick White <git@njw.me.uk>
Date: Thu, 18 Jun 2009 09:41:13 +0100
Subject: Added librehardened, and allow for libre versions

---
 eclass/kernel-libre.eclass | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'eclass')

diff --git a/eclass/kernel-libre.eclass b/eclass/kernel-libre.eclass
index 12f50cf..77845ac 100644
--- a/eclass/kernel-libre.eclass
+++ b/eclass/kernel-libre.eclass
@@ -7,13 +7,13 @@ inherit kernel-2
 EXPORT_FUNCTIONS src_unpack
 
 DEBLOB_CHECK="deblob-check"
-KERNEL_URI="http://www.linux-libre.fsfla.org/pub/linux-libre/releases/${PV}-libre/linux-${PV}-libre.tar.bz2"
-DEBLOB_URI="http://www.linux-libre.fsfla.org/pub/linux-libre/releases/${PV}-libre/${DEBLOB_CHECK}"
+KERNEL_URI="http://www.linux-libre.fsfla.org/pub/linux-libre/releases/${PV}-libre${LIBRE_VER}/linux-${PV}-libre${LIBRE_VER}.tar.bz2"
+DEBLOB_URI="http://www.linux-libre.fsfla.org/pub/linux-libre/releases/${PV}-libre${LIBRE_VER}/${DEBLOB_CHECK}"
 
-# override the kernel-2 function as tarball is named and laid out differently
+# override the kernel-2 function as tarball is named differently
 universal_unpack() {
 	cd ${WORKDIR}
-	unpack linux-${OKV}-libre.tar.bz2
+	unpack linux-${OKV}-libre${LIBRE_VER}.tar.bz2
 	mv ${WORKDIR}/linux-${OKV} ${WORKDIR}/linux-${KV_FULL} \
 		|| die "Unable to move source tree to ${KV_FULL}."
 	cd ${S}
-- 
cgit v1.2.3