aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2009-01-21 22:02:25 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2009-01-21 22:02:56 +0300
commit4477059246bc811e61144c1b44fba5b2386a208c (patch)
treed2f8689daa44590cf99d1e2916cdb22f52bb9a58
parentadd experimental ebuild for dapl-2.0.15 (diff)
downloadsci-4477059246bc811e61144c1b44fba5b2386a208c.tar.gz
sci-4477059246bc811e61144c1b44fba5b2386a208c.tar.bz2
sci-4477059246bc811e61144c1b44fba5b2386a208c.zip
add p.mask entry
-rw-r--r--eclass/openib.eclass14
-rw-r--r--[-rwxr-xr-x]profiles/categories0
-rw-r--r--profiles/package.mask3
-rw-r--r--[-rwxr-xr-x]profiles/repo_name0
4 files changed, 14 insertions, 3 deletions
diff --git a/eclass/openib.eclass b/eclass/openib.eclass
index 714874c24..5c4d036b5 100644
--- a/eclass/openib.eclass
+++ b/eclass/openib.eclass
@@ -7,25 +7,33 @@
# Purpose: Simplify working with OFED packages
#
+EXPORT_FUNCTIONS src_unpack
+
HOMEPAGE="http://www.openfabrics.org/"
LICENSE="|| ( GPL-2 BSD-2 )"
SLOT="0"
inherit rpm eutils
+# @ECLASS-VARIABLE: OFED_VER
+# @DESCRIPTION:
+# Defines OFED version eg 1.4 or 1.4.0.1
+
+# @ECLASS-VARIABLE: OFED_SUFFIX
+# @DESCRIPTION:
+# Defines OFED package suffix eg -1.ofed1.4
+
case ${OFED_VER} in
1.4*)
SRC_URI="http://www.openfabrics.org/downloads/OFED/ofed-1.4/OFED-1.4.tgz"
;;
esac
-EXPORT_FUNCTIONS src_unpack
-
# @FUNCTION: openib_src_unpack
# @DESCRIPTION:
# This function will unpack OFED packages
openib_src_unpack() {
unpack ${A}
- rpm_unpack "OFED-${OFED_VER}/SRPMS/${P}-${ofs}.rpm"
+ rpm_unpack "OFED-${OFED_VER}/SRPMS/${P}-${OFED_SUFFIX}.rpm"
unpack ./${P}.tar.gz
}
diff --git a/profiles/categories b/profiles/categories
index d9e6bb317..d9e6bb317 100755..100644
--- a/profiles/categories
+++ b/profiles/categories
diff --git a/profiles/package.mask b/profiles/package.mask
index 56b672d8d..ab2d13806 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -30,3 +30,6 @@
#--- END OF EXAMPLES ---
+# Alexey Shvetsov <alexxy@gento.org> (21 Jan 2009)
+# Mask for testing
+=sys-cluster/dapl-2.0.15
diff --git a/profiles/repo_name b/profiles/repo_name
index 8ebbbd48b..8ebbbd48b 100755..100644
--- a/profiles/repo_name
+++ b/profiles/repo_name