From c2acb28e796b839e5adda5b84bc18d91dc54602b Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 16 Jun 2009 09:38:59 +0100 Subject: Try setting URIs in eclass --- eclass/kernel-libre.eclass | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'eclass') diff --git a/eclass/kernel-libre.eclass b/eclass/kernel-libre.eclass index 4e7dbc0..a042ab1 100644 --- a/eclass/kernel-libre.eclass +++ b/eclass/kernel-libre.eclass @@ -8,12 +8,15 @@ # inherit kernel-2 -EXPORT_FUNCTIONS src_unpack +EXPORT_FUNCTIONS pkg_setup src_unpack -DEBLOB_CHECK="deblob-check" -LIBRE_URI_BASE="http://www.linux-libre.fsfla.org/pub/linux-libre/releases/${PV}-libre" -LIBREKERNEL_URI="${LIBRE_URI_BASE}/linux-${PV}-libre.tar.bz2" -DEBLOB_URI="${LIBRE_URI_BASE}/${DEBLOB_CHECK}" +kernel-libre_pkg_setup() { + libre_uri_base="http://www.linux-libre.fsfla.org/pub/linux-libre/releases/${PV}-libre" + + DEBLOB_CHECK="deblob-check" + KERNEL_URI="${LIBRE_URI_BASE}/linux-${PV}-libre.tar.bz2" + DEBLOB_URI="${LIBRE_URI_BASE}/${DEBLOB_CHECK}" +} kernel-libre_src_unpack() { # kernel revision patches included in tarball -- cgit v1.2.3