aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-misc/salome-superv')
-rw-r--r--sci-misc/salome-superv/ChangeLog25
-rw-r--r--sci-misc/salome-superv/Manifest7
-rw-r--r--sci-misc/salome-superv/files/salome-superv-3.2.6-gcc-4.3.patch12
-rw-r--r--sci-misc/salome-superv/files/salome-superv-3.2.6.patch39
-rw-r--r--sci-misc/salome-superv/files/salome-superv-3.2.6_omniorb_4.1.patch174
-rw-r--r--sci-misc/salome-superv/metadata.xml5
-rw-r--r--sci-misc/salome-superv/salome-superv-3.2.6.ebuild137
7 files changed, 0 insertions, 399 deletions
diff --git a/sci-misc/salome-superv/ChangeLog b/sci-misc/salome-superv/ChangeLog
deleted file mode 100644
index ae908623b..000000000
--- a/sci-misc/salome-superv/ChangeLog
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 04 Sep 2008; Oliver Borm (boroli) <oli.borm@web.de>
- salome-superv-3.2.6.ebuild:
- Fixed typo in patch file
-
- 04 Sep 2008; Oliver Borm (boroli) <oli.borm@web.de>
- salome-superv-3.2.6.ebuild, +files/salome-superv-3.2.6_omniorb_4.1.patch:
- removed omniorb* dependencies, as they are already in salome-kernel; added
- omniorb_4.1.patch
-
- 27 Aug 2008; Oliver Borm (boroli) <oli.borm@web.de>
- salome-superv-3.2.6.ebuild, -Changelog, +metadata.xml:
- Removed fetch restriction, removed hardcode
-
- 29 May 2008; Daniel Tourde <daniel.tourde@caelae.se>
- +salome-superv-3.2.6-gcc-4.3.patch
- Added support to gcc-4.3. Patch provided by Bert Karwatzki <spasswolf@web.de>
-
- 21 May 2008; Daniel Tourde <daniel.tourde@caelae.se>
- Initial import.
- +salome-superv-3.2.6.ebuild, +salome-superv-3.2.6.patch
- A major thank to Francois Dorin <f.dorin@free.fr>, Jon Hood <squinky86@gmail.com>, Dewald Pietersen <dewald.pieterse@gmail.com>, <etienne.lorriaux@gmail.com> and Richard Westwell <garlicbread@ntlworld.com> for their respective contributions and feedback. Without you guys, the Salome ebuilds would not exist today. Thanks!
- See bug #155974 for more info \ No newline at end of file
diff --git a/sci-misc/salome-superv/Manifest b/sci-misc/salome-superv/Manifest
deleted file mode 100644
index b6f242a79..000000000
--- a/sci-misc/salome-superv/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX salome-superv-3.2.6-gcc-4.3.patch 596 RMD160 c084efcad2eb701621b7e1046b7d11a3ad3f8ee0 SHA1 1090189552c5d1f1abca346543147c31a090852e SHA256 e6576218a728aacae94d6794da0a1947eaf823ff62696c71f7439d4bdd73e710
-AUX salome-superv-3.2.6.patch 1299 RMD160 5a29f236b189d186332f196a5e53864346dd290e SHA1 d4ed9e21b878dd29464154a6e8f03ef6000e9931 SHA256 92b528d1736a8301597c5712686f6a616f45afc8c944e4a7f28112746d1a062f
-AUX salome-superv-3.2.6_omniorb_4.1.patch 7798 RMD160 d3858b70d9a5a75a664270b29503fc245f6038c2 SHA1 74405f7e4f3055ac868c75ce2402d7aa8069f289 SHA256 ea086ac19fcbf7c8d576f70db0def676e5074c8ca29b75b4966fd77447cabc8d
-DIST src3.2.6.tar.gz 88763725 RMD160 0a0b77aa538832265416605bf502df9e790b45b7 SHA1 e4736b8431d3a4f43541e09eed861f88a2a2f439 SHA256 1f4ae59538675242b179fa2af9bf9adeffe87c8d80d3e6798bca03eafc0bb258
-EBUILD salome-superv-3.2.6.ebuild 3985 RMD160 8fdd794abf86f444a0d5627cb928393a981c231f SHA1 52fd350aa45ef7472485e9d1670b3383c158a6ab SHA256 6f3922b536485d576d3af3ab61530312e17ff0bbb75d26c84102bb2af5c78f62
-MISC ChangeLog 1242 RMD160 4648dffef6118d8474644a613c9e484393eb4e0a SHA1 657a969b2437e279a61e36f639a4663a16c22082 SHA256 3d3cca21e185b20bb7b141131f4d3f5134dd54becd0919aa7f4f637e73390bf9
-MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900
diff --git a/sci-misc/salome-superv/files/salome-superv-3.2.6-gcc-4.3.patch b/sci-misc/salome-superv/files/salome-superv-3.2.6-gcc-4.3.patch
deleted file mode 100644
index e0c71e6a2..000000000
--- a/sci-misc/salome-superv/files/salome-superv-3.2.6-gcc-4.3.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -aur src3.2.6.old/SUPERV_SRC_3.2.6/src/SUPERVGUI/SUPERVGUI_CanvasArray.cxx src3.2.6/SUPERV_SRC_3.2.6/src/SUPERVGUI/SUPERVGUI_CanvasArray.cxx
---- src3.2.6.old/SUPERV_SRC_3.2.6/src/SUPERVGUI/SUPERVGUI_CanvasArray.cxx 2008-05-25 19:32:49.000000000 +0200
-+++ src3.2.6/SUPERV_SRC_3.2.6/src/SUPERVGUI/SUPERVGUI_CanvasArray.cxx 2008-05-26 02:57:42.000000000 +0200
-@@ -35,7 +35,7 @@
- #include <qtooltip.h>
- #define TEXT_MARGIN 5
-
--#include <iostream.h> //for debug only
-+#include <iostream> //for debug only
-
- #define ADDNODES(NodesName,LevelHasDiffNT) \
- ncols = nodes->NodesName.length(); \
diff --git a/sci-misc/salome-superv/files/salome-superv-3.2.6.patch b/sci-misc/salome-superv/files/salome-superv-3.2.6.patch
deleted file mode 100644
index 7e12b919d..000000000
--- a/sci-misc/salome-superv/files/salome-superv-3.2.6.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- ./SUPERV_SRC_3.2.6/build_configure.org 2007-04-24 18:41:04.000000000 +0200
-+++ ./SUPERV_SRC_3.2.6/build_configure 2008-01-07 12:46:59.000000000 +0100
-@@ -118,7 +118,7 @@
-
- # make a link allowing AC_OUTPUT to find the salome_adm/.../*.in files
- echo "" >> configure.in_tmp1
--echo 'ln -fs ${KERNEL_ROOT_DIR}/salome_adm ${ROOT_SRCDIR}/.' >> configure.in_tmp1
-+echo 'cp -prf ${KERNEL_ROOT_DIR}/salome_adm ${ROOT_SRCDIR}/.' >> configure.in_tmp1
-
- echo "" >> configure.in_tmp1
- echo "AC_OUTPUT([ \\" >> configure.in_tmp1
---- ./SUPERV_SRC_3.2.6/adm_local/Makefile.in.org 2007-04-24 18:41:04.000000000 +0200
-+++ ./SUPERV_SRC_3.2.6/adm_local/Makefile.in 2008-01-07 13:12:33.000000000 +0100
-@@ -27,12 +27,12 @@
- all: resources
-
- install:
-- cp -rf @top_srcdir@/adm_local @prefix@
-+# cp -rf @top_srcdir@/adm_local @prefix@
-
- bin:
-
- resources :
-- cp -rf @top_srcdir@/adm_local $(top_builddir)
-+# cp -rf @top_srcdir@/adm_local $(top_builddir)
-
- inc:
-
---- ./SUPERV_SRC_3.2.6/doc/salome/gui/Makefile.in.org 2007-04-24 18:41:04.000000000 +0200
-+++ ./SUPERV_SRC_3.2.6/doc/salome/gui/Makefile.in 2008-01-07 13:20:04.000000000 +0100
-@@ -29,7 +29,7 @@
- @COMMENCE@
-
- usr_docs:
-- cp -fr $(srcdir)/SUPERV ./
-+# cp -fr $(srcdir)/SUPERV ./
- -find $(PWD) -name CVS -prune -exec rm -rf {} \;
-
- docs: usr_docs
diff --git a/sci-misc/salome-superv/files/salome-superv-3.2.6_omniorb_4.1.patch b/sci-misc/salome-superv/files/salome-superv-3.2.6_omniorb_4.1.patch
deleted file mode 100644
index 4998fc6d4..000000000
--- a/sci-misc/salome-superv/files/salome-superv-3.2.6_omniorb_4.1.patch
+++ /dev/null
@@ -1,174 +0,0 @@
-diff -abur src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_Base.cxx src3.2.6/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_Base.cxx
---- src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_Base.cxx 2008-08-22 19:55:15.000000000 +0200
-+++ src3.2.6/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_Base.cxx 2008-08-22 19:57:13.000000000 +0200
-@@ -74,7 +74,7 @@
- ostream & GraphBase::Base::AnyValue( const CORBA::Any & anAny ) {
- switch (anAny.type()->kind()) {
- case CORBA::tk_string: {
-- char * t;
-+ const char * t;
- anAny >>= t;
- *_fdebug << " " << t << " (tk_string)" << endl ;
- break;
-diff -abur src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_DataPort.cxx src3.2.6/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_DataPort.cxx
---- src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_DataPort.cxx 2008-08-22 19:55:15.000000000 +0200
-+++ src3.2.6/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_DataPort.cxx 2008-08-22 21:55:22.000000000 +0200
-@@ -151,7 +151,7 @@
- #endif
- switch (aDataValue->type()->kind()) { // Input Value
- case CORBA::tk_string: { // Input string Value
-- char * t;
-+ const char * t;
- *aDataValue >>= t;
- #if ValueTrace
- cdebug << t << " (string)" ;
-@@ -242,7 +242,7 @@
- char t[40] ;
- sprintf( t , "%ld" , ll ) ;
- *theValue <<= t ;
-- char *tt ;
-+ const char *tt ;
- *theValue >>= tt ;
- #if ValueTrace
- cdebug << " --> Value( " << t << ") (string) kind " << theValue->type()->kind() ;
-@@ -311,7 +311,7 @@
- char t[40] ;
- sprintf( t , "%lf" , d ) ;
- *theValue <<= t ;
-- char *tt ;
-+ const char *tt ;
- *theValue >>= tt ;
- #if ValueTrace
- cdebug << " --> Value( " << t << ") (string) kind " << theValue->type()->kind() ;
-@@ -473,7 +473,7 @@
- //JR 30.03.2005 switch ( theValue->type()->kind() ) {
- switch ( theValue.type()->kind() ) {
- case CORBA::tk_string: {
-- char * t;
-+ const char * t;
- //JR 30.03.2005 *theValue >>= t;
- theValue >>= t;
- // cdebug << "GraphBase::DataPort::Value() : " << t << " (string) " << endl ;
-@@ -583,7 +583,7 @@
- const CORBA::Any * theValue = *_Value ;
- switch (theValue->type()->kind()) {
- case CORBA::tk_string:
-- char * t;
-+ const char * t;
- *theValue >>= t;
- f << t << " (string)" ;
- break;
-diff -abur src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_Graph.cxx src3.2.6/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_Graph.cxx
---- src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_Graph.cxx 2008-08-22 19:55:15.000000000 +0200
-+++ src3.2.6/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_Graph.cxx 2008-08-22 22:29:22.000000000 +0200
-@@ -1598,7 +1598,7 @@
- bool isUnknown = false;
- switch (aValue.type()->kind()) {
- case CORBA::tk_string:
-- char * t;
-+ const char * t;
- aValue >>= t;
- cdebug << t << " (string) " ;
- if ( !strcmp( t, "Unknown CORBA::Any Type" ) )
-@@ -1688,7 +1688,7 @@
- << ToServiceParameterName << "' , Any " ;
- switch (aValue.type()->kind()) {
- case CORBA::tk_string:
-- char * t;
-+ const char * t;
- aValue >>= t;
- cdebug << t << " (string) " ;
- break;
-diff -abur src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_XmlHandler.cxx src3.2.6/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_XmlHandler.cxx
---- src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_XmlHandler.cxx 2008-08-22 19:55:15.000000000 +0200
-+++ src3.2.6/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_XmlHandler.cxx 2008-08-22 22:00:15.000000000 +0200
-@@ -718,7 +718,7 @@
- case CORBA::tk_string: {
- //Mandrake 10.1/Salome 3 aLink.aLinkValue <<= (char *) NULL ;
- aLink.aLinkValue <<= (char *) "" ;
-- char * t;
-+ const char * t;
- aLink.aLinkValue >>= t;
- #if TRACE
- MESSAGE( t << " (string)" );
-@@ -778,7 +778,7 @@
- switch ( aLink.aLinkValue.type()->kind() ) {
- case CORBA::tk_string: {
- aLink.aLinkValue <<= fieldvalue[depth].c_str() ;
-- char * t;
-+ const char * t;
- aLink.aLinkValue >>= t;
- #if TRACE
- MESSAGE( t << " (string)" );
-diff -abur src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphEditor/DataFlowEditor_OutNode.cxx src3.2.6/SUPERV_SRC_3.2.6/src/GraphEditor/DataFlowEditor_OutNode.cxx
---- src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphEditor/DataFlowEditor_OutNode.cxx 2008-08-22 19:55:15.000000000 +0200
-+++ src3.2.6/SUPERV_SRC_3.2.6/src/GraphEditor/DataFlowEditor_OutNode.cxx 2008-08-22 22:44:27.000000000 +0200
-@@ -1200,7 +1200,7 @@
- valuetype.appendChild( aField ) ;
- switch (aLink.aLinkValue.type()->kind()) {
- case CORBA::tk_string: {
-- char* retstr ;
-+ const char* retstr ;
- aLink.aLinkValue >>= retstr;
- // f << Tabs << " <value>" << retstr << "</value>" << endl ;
- QDomElement value = Graph.createElement( "value" ) ;
-@@ -1345,7 +1345,7 @@
- << ".Input( " ;
- switch (aLink.aLinkValue.type()->kind()) {
- case CORBA::tk_string: {
-- char* retstr ;
-+ const char* retstr ;
- aLink.aLinkValue >>= retstr;
- f << "'" << retstr << "'" ;
- break ;
-diff -abur src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphExecutor/DataFlowExecutor_InNodeThreads.cxx src3.2.6/SUPERV_SRC_3.2.6/src/GraphExecutor/DataFlowExecutor_InNodeThreads.cxx
---- src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphExecutor/DataFlowExecutor_InNodeThreads.cxx 2008-08-22 19:55:15.000000000 +0200
-+++ src3.2.6/SUPERV_SRC_3.2.6/src/GraphExecutor/DataFlowExecutor_InNodeThreads.cxx 2008-08-22 22:59:18.000000000 +0200
-@@ -3277,7 +3277,7 @@
- const char * Type = anInPort->GetServicesParameter().Parametertype ;
- switch ( D.Value.type()->kind() ) { // { string , long , double , objref }
- case CORBA::tk_string:
-- char * t;
-+ const char * t;
- D.Value >>= t;
- #if InParametersSetTrace
- cdebug << t << " (string)" ;
-@@ -3675,7 +3675,7 @@
- #if InParametersSetTrace
- switch (D.Value.type()->kind()) { // { string , long , double , objref }
- case CORBA::tk_string:
-- char * t;
-+ const char * t;
- D.Value >>= t;
- cdebug << ThreadNo() << " " << t << "(string)" << endl ;
- break;
-@@ -3764,7 +3764,7 @@
- ServicesAnyData D = OutParametersList[i] ;
- switch (D.Value.type()->kind()) { // { string , long , double , objref }
- case CORBA::tk_string: {
-- char * t;
-+ const char * t;
- D.Value >>= t;
- #if OutParametersSetTrace
- cdebug << ThreadNo() << " " << t << "(string)" << endl ;
-@@ -3999,7 +3999,7 @@
- #if OutParametersSetTrace
- switch ( anOutPort->Value().type()->kind() ) {
- case CORBA::tk_string:
-- char * t;
-+ const char * t;
- (anOutPort->Value()) >>= t;
- cdebug << ThreadNo() << " Out" << i << " : " << t << "(string)" << endl ;
- break;
-diff -abur src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx src3.2.6/SUPERV_SRC_3.2.6/src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx
---- src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx 2008-08-22 19:55:15.000000000 +0200
-+++ src3.2.6/SUPERV_SRC_3.2.6/src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx 2008-08-22 22:48:17.000000000 +0200
-@@ -320,7 +320,7 @@
- sname = InParametersList[i].Name.c_str() ;
- switch ( data.type()->kind() ) {
- case CORBA::tk_string : {
-- char * t ;
-+ const char * t ;
- data >>= t ;
- PyObject * ArgValue = Py_BuildValue( "s" , t ) ;
- PyTuple_SetItem( ArgsList , i , ArgValue ) ;
diff --git a/sci-misc/salome-superv/metadata.xml b/sci-misc/salome-superv/metadata.xml
deleted file mode 100644
index b229aec85..000000000
--- a/sci-misc/salome-superv/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>sci</herd>
-</pkgmetadata>
diff --git a/sci-misc/salome-superv/salome-superv-3.2.6.ebuild b/sci-misc/salome-superv/salome-superv-3.2.6.ebuild
deleted file mode 100644
index d173c5720..000000000
--- a/sci-misc/salome-superv/salome-superv-3.2.6.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# 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. SUPERV Component"
-HOMEPAGE="http://www.salome-platform.org"
-SRC_URI="http://files.opencascade.com/Salome${PV}/src${PV}.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-IUSE="debug doc mpi opengl"
-
-RDEPEND="opengl? ( virtual/opengl )
- mpi? ( sys-cluster/mpich2 )
- debug? ( dev-util/cppunit )"
-
-DEPEND="${RDEPEND}
- >=sci-misc/salome-kernel-${PV}
- >=sci-misc/salome-gui-${PV}
- >=sci-misc/salome-component-${PV}"
-
-MODULE_NAME="SUPERV"
-MY_S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}"
-INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}"
-SUPERV_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}"
-export OPENPBS="/usr"
-
-src_unpack() {
- python_version
- distutils_python_version
- ewarn "Python 2.4 is highly recommended for Salome..."
-
- if ! built_with_use sci-libs/vtk python ; then
- die "You must rebuild sci-libs/vtk with python USE flag"
- fi
-
- unpack ${A}
- cd ${MY_S}
- epatch "${FILESDIR}"/${P}.patch
- epatch "${FILESDIR}"/${P}_omniorb_4.1.patch
-
- # Gcc 4.3 support
- if version_is_at_least "4.3" $(gcc-version) ; then
- epatch "${FILESDIR}"/${P}-gcc-4.3.patch
- fi
-}
-
-
-src_compile() {
- local myconf=""
- cd "${MY_S}"
- rm -r -f autom4te.cache
- ./build_configure
-
- # CXXFLAGS are slightly modified to allow the compilation of
- # salome-superv with OpenCascade and gcc-4.1.x
- if version_is_at_least "4.1" $(gcc-version) ; then
- append-flags -ffriend-injection -fpermissive
- fi
-
- # If vtk-5.O is used, include directory is named vtk-5.0 and not vtk
- if has_version ">=sci-libs/vtk-5.0" ; then
- einfo "vtk version 5 detected"
- append-flags -I/usr/include/vtk-5.0
- else
- einfo "vtk version 4 or prior detected"
- fi
-
- # Compiler and linker flags
- if use amd64 ; then
- append-flags -m64
- fi
-
- # Specifying --without-<flag> for mpich
- # has the same effect as turning it on
- # so we just ommit it if it's not required to turn it off
- if use mpi ; then
- myconf="${myconf} --with-mpich"
- fi
-
- # Configuration
- econf --prefix=${INSTALL_DIR} \
- --datadir=${INSTALL_DIR}/share/salome \
- --docdir=${INSTALL_DIR}/doc/salome \
- --infodir=${INSTALL_DIR}/share/info \
- --libdir=${INSTALL_DIR}/$(get_libdir)/salome \
- --with-python-site=${INSTALL_DIR}/$(get_libdir)/python${PYVER}/site-packages/salome \
- --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python${PYVER}/site-packages/salome \
- ${myconf} \
- $(use_enable debug ) \
- $(use_enable !debug production ) \
- $(use_with debug cppunit /usr ) \
- $(use_with opengl opengl /usr) \
- || die "configuration failed"
-
- # Compilation
- MAKEOPTS="-j1" emake || die "Compilation failed"
-}
-
-
-src_install() {
- cd "${MY_S}"
-
- # Installation
- emake prefix="${D}/${INSTALL_DIR}" \
- docdir="${D}/${INSTALL_DIR}/doc/salome" \
- infodir="${D}/${INSTALL_DIR}/share/info" \
- datadir="${D}/${INSTALL_DIR}/share/salome" \
- libdir="${D}/${INSTALL_DIR}/$(get_libdir)/salome" \
- pythondir="${D}/${INSTALL_DIR}/$(get_libdir)/python${PYVER}/site-packages" install \
- || die "emake install failed"
-
- if use amd64 ; then
- dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib
- fi
-
- echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P}
- echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P}
- echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P}
- echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python${PYVER}/site-packages/salome" >> ./90${P}
- doenvd 90${P}
- rm adm_local/Makefile adm_local/unix/make_commence adm_local/unix/make_conclude adm_local/unix/make_omniorb
- insinto "${INSTALL_DIR}"
- doins -r adm_local
- if use doc ; then
- dodoc INSTALL
- fi
-}
-
-pkg_postinst() {
- elog "Run \`env-update && source /etc/profile\`"
- elog "now to set up the correct paths."
- elog ""
-}