aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-misc/salome-med/salome-med-3.2.6.ebuild')
-rw-r--r--sci-misc/salome-med/salome-med-3.2.6.ebuild25
1 files changed, 8 insertions, 17 deletions
diff --git a/sci-misc/salome-med/salome-med-3.2.6.ebuild b/sci-misc/salome-med/salome-med-3.2.6.ebuild
index 991de35e7..6d0cc5868 100644
--- a/sci-misc/salome-med/salome-med-3.2.6.ebuild
+++ b/sci-misc/salome-med/salome-med-3.2.6.ebuild
@@ -1,17 +1,17 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+# $Header: $
inherit autotools distutils eutils flag-o-matic toolchain-funcs versionator python multilib
DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation. MED Component"
HOMEPAGE="http://www.salome-platform.org"
-SRC_URI="salome-3.2.6.tar.gz"
+SRC_URI="http://files.opencascade.com/Salome${PV}/src${PV}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="doc opengl mpi openpbs debug"
-RESTRICT="fetch"
RDEPEND="opengl? ( virtual/opengl )
mpi? ( sys-cluster/mpich2 )
@@ -19,8 +19,8 @@ RDEPEND="opengl? ( virtual/opengl )
openpbs? ( sys-cluster/torque )"
DEPEND="${RDEPEND}
- >=sci-misc/salome-kernel-3.2.6
- >=sci-misc/salome-gui-3.2.6
+ >=sci-misc/salome-kernel-${PV}
+ >=sci-misc/salome-gui-${PV}
<=dev-python/omniorbpy-2.6
<=net-misc/omniORB-4.1
sci-libs/med"
@@ -33,15 +33,6 @@ INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}"
MED_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}"
export OPENPBS="/usr"
-pkg_nofetch()
-{
- einfo "You have to download manually the source code. You can download it from :"
- einfo " http://www.salome-platform.org/download/dl326"
- einfo ""
- einfo "Put the archive in the \"/usr/portage/distfile\" directory and rename it \"salome-3.2.6.tar.gz\""
-}
-
-
src_unpack()
{
python_version
@@ -54,9 +45,9 @@ src_unpack()
unpack ${A}
cd "${MY_S}"
- epatch ${FILESDIR}/${P}_gcc4.patch
- epatch ${FILESDIR}/${P}.patch
- epatch ${FILESDIR}/${P}_environ.patch
+ epatch "${FILESDIR}"/${P}_gcc4.patch
+ epatch "${FILESDIR}"/${P}.patch
+ epatch "${FILESDIR}"/${P}_environ.patch
# Gcc 4.3 support
if version_is_at_least "4.3" $(gcc-version) ; then
@@ -139,7 +130,7 @@ src_install()
insinto "${INSTALL_DIR}"
doins -r adm_local
if use doc; then
- dodoc INSTALL LICENCE README
+ dodoc INSTALL README
fi
}