summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2009-06-16 09:38:59 +0100
committerNick White <git@njw.me.uk>2009-06-16 09:38:59 +0100
commitc2acb28e796b839e5adda5b84bc18d91dc54602b (patch)
tree40d0509b427bf8432a8d6115f18fd3316088dbcb /eclass
parent21d6c9f32d1dca6e8149cdf8169d960cca7577d8 (diff)
downloadnjw-gentoo-local-c2acb28e796b839e5adda5b84bc18d91dc54602b.tar.bz2
njw-gentoo-local-c2acb28e796b839e5adda5b84bc18d91dc54602b.zip
Try setting URIs in eclass
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-libre.eclass13
1 files changed, 8 insertions, 5 deletions
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