diff options
author | Nick White <git@njw.me.uk> | 2009-06-18 10:19:46 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2009-06-18 10:19:46 +0100 |
commit | aa976b0bb38b2f1594dd4583bb454fc614b5fa65 (patch) | |
tree | f3f87318d418fa2b608722a64759f27b97dcd22f | |
parent | 5898fe769d039856609162036af9444a3b6e00c0 (diff) | |
download | njw-gentoo-local-aa976b0bb38b2f1594dd4583bb454fc614b5fa65.tar.bz2 njw-gentoo-local-aa976b0bb38b2f1594dd4583bb454fc614b5fa65.zip |
Use arrows for deblob-check if EAPI2
-rw-r--r-- | eclass/kernel-libre.eclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/kernel-libre.eclass b/eclass/kernel-libre.eclass index 77845ac..2923807 100644 --- a/eclass/kernel-libre.eclass +++ b/eclass/kernel-libre.eclass @@ -6,10 +6,16 @@ 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${LIBRE_VER}/linux-${PV}-libre${LIBRE_VER}.tar.bz2" +DEBLOB_CHECK="deblob-check" DEBLOB_URI="http://www.linux-libre.fsfla.org/pub/linux-libre/releases/${PV}-libre${LIBRE_VER}/${DEBLOB_CHECK}" +# if the package manager is capable, rename deblob-check to avoid collisions +if [[ $EAPI -eq 2 ]]; then + DEBLOB_CHECK="${DEBLOB_CHECK}-${OKV}" + DEBLOB_URI="${DEBLOB_URI} -> ${DEBLOB_CHECK}" +fi + # override the kernel-2 function as tarball is named differently universal_unpack() { cd ${WORKDIR} |