aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2009-08-20 18:43:27 +0400
committerAlexey Shvetsov <alexxy@gentoo.org>2009-08-20 18:43:27 +0400
commitc2c9b4b188f4ff9edc2c077546bf3d87ba7238d8 (patch)
tree08093926d4f6cc1a4c6ddf9e87bd1e84bdf56001 /eclass/openib.eclass
parent[eclass] Update openib eclass (diff)
downloadsci-c2c9b4b188f4ff9edc2c077546bf3d87ba7238d8.tar.gz
sci-c2c9b4b188f4ff9edc2c077546bf3d87ba7238d8.tar.bz2
sci-c2c9b4b188f4ff9edc2c077546bf3d87ba7238d8.zip
[eclass] Update openib eclass
Diffstat (limited to 'eclass/openib.eclass')
-rw-r--r--eclass/openib.eclass16
1 files changed, 7 insertions, 9 deletions
diff --git a/eclass/openib.eclass b/eclass/openib.eclass
index cc75ed6c1..b17ad9834 100644
--- a/eclass/openib.eclass
+++ b/eclass/openib.eclass
@@ -68,15 +68,6 @@ case ${MY_PN} in
;;
esac
-case ${MY_PN} in
- rds-tools)
- MY_PV="${PV}-${OFED_SUFFIX}"
- ;;
- *)
- ;;
-esac
-
-
S="${WORKDIR}/${MY_PN}-${MY_PV}"
# @FUNCTION: openib_src_unpack
@@ -85,5 +76,12 @@ S="${WORKDIR}/${MY_PN}-${MY_PV}"
openib_src_unpack() {
unpack ${A}
rpm_unpack "OFED-${OFED_VER}/SRPMS/${MY_PN}-${MY_PV}-${OFED_SUFFIX}.src.rpm"
+ case ${MY_PN} in
+ rds-tools)
+ MY_PV="${PV}-${OFED_SUFFIX}"
+ ;;
+ *)
+ ;;
+ esac
unpack ./${MY_PN}-${MY_PV}.${EXT}
}