Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci
In directory sc8-pr-cvs17:/tmp/cvs-serv4125

Added Files:
        gildas.patch gildas.info 
Log Message:
New package.


--- NEW FILE: gildas.patch ---
diff -ruN -x '*~' gildas-src-08apr07/admin/Makefile 
gildas-src-08apr07.patched/admin/Makefile
--- gildas-src-08apr07/admin/Makefile   2004-10-19 10:04:03.000000000 -0400
+++ gildas-src-08apr07.patched/admin/Makefile   2007-04-10 11:45:25.000000000 
-0400
@@ -42,6 +42,5 @@
        @(echo "Bye." >> final-message.txt)
        @(echo 
"***************************************************************************" 
>> final-message.txt)
        @(echo >> final-message.txt)
-       -(cat final-message.txt)
 
 ###########################################################################
diff -ruN -x '*~' gildas-src-08apr07/admin/Makefile.def 
gildas-src-08apr07.patched/admin/Makefile.def
--- gildas-src-08apr07/admin/Makefile.def       2007-03-30 10:30:37.000000000 
-0400
+++ gildas-src-08apr07.patched/admin/Makefile.def       2007-04-10 
12:08:50.000000000 -0400
@@ -436,7 +436,7 @@
 
 GAG_LIBS = -lgio -lgsys
 
-SIC_LIBS = -lsic -lgio -lgsys -lslatec -llapack -lblas 
+SIC_LIBS = -lsic -lgio -lgsys ${gagsrcdir}/legacy/slatec/libslatec.a  
${gagsrcdir}/legacy/lapack/liblapack.a ${gagsrcdir}/legacy/blas/libblas.a 
 
 GREG_LIBS = -lgreg -lgtv -lgcont -lgchar -lX11
 
@@ -467,7 +467,7 @@
   ADD_LIBS += -lpng -lz
 endif
 ifeq ($(FFTW3_PRESENT),yes)
-  ADD_LIBS += -lfftw3
+  ADD_LIBS += -lfftw3f
 endif
 
 # Mandatory system libraries
diff -ruN -x '*~' gildas-src-08apr07/admin/gildas-env.sh 
gildas-src-08apr07.patched/admin/gildas-env.sh
--- gildas-src-08apr07/admin/gildas-env.sh      2007-04-02 05:20:48.000000000 
-0400
+++ gildas-src-08apr07.patched/admin/gildas-env.sh      2007-04-10 
11:45:25.000000000 -0400
@@ -357,14 +357,14 @@
            NEWATM_PRESENT=yes
            NEWATM_LIB_DIR=$DIR
        fi
-       if file_present "liblapack." "${DIR}"; then
-           LAPACK_PRESENT=yes
-           LAPACK_LIB_DIR=$DIR
-       fi
-       if file_present "libblas." "${DIR}"; then
-           BLAS_PRESENT=yes
-           BLAS_LIB_DIR=$DIR
-       fi
+       #if file_present "liblapack." "${DIR}"; then
+       #    LAPACK_PRESENT=yes
+       #    LAPACK_LIB_DIR=$DIR
+       #fi
+       #if file_present "libblas." "${DIR}"; then
+       #    BLAS_PRESENT=yes
+       #    BLAS_LIB_DIR=$DIR
+       #fi
        if file_present "libslatec." "${DIR}"; then
            SLATEC_PRESENT=yes
            SLATEC_LIB_DIR=$DIR
@@ -420,10 +420,10 @@
            PNG_INC=yes
            PNG_INC_DIR=$DIR
        fi
-        if file_present "Python.h" "${DIR}/python${PY_VERS}"; then
-            PYTHON_INC=yes
-            PYTHON_INC_DIR=$DIR/python$PY_VERS
-        fi
+        #if file_present "Python.h" "${DIR}/python${PY_VERS}"; then
+        #    PYTHON_INC=yes
+        #    PYTHON_INC_DIR=$DIR/python$PY_VERS
+        #fi
     done
     for DIR in $LIB_PATH; do
        if file_present "libX11." "${DIR}"; then
@@ -442,10 +442,10 @@
            PNG_LIB=yes
            PNG_LIB_DIR=$DIR
        fi
-        if file_present "libpython" "${DIR}/python${PY_VERS}/config"; then
-            PYTHON_LIB=yes
-            PYTHON_LIB_DIR=$DIR/python$PY_VERS/config
-        fi
+        #if file_present "libpython" "${DIR}/python${PY_VERS}/config"; then
+        #    PYTHON_LIB=yes
+        #    PYTHON_LIB_DIR=$DIR/python$PY_VERS/config
+        #fi
        if [ "$SDM_PRESENT" = "yes" ]; then
            if file_present "libstdc++." "${DIR}"; then
                STDCpp_LIB=yes

--- NEW FILE: gildas.info ---
Package: gildas
Version: 200707
Revision: 1
Description: Radioastronomy data analysis software
License: OSI-Approved
Maintainer: Sebastien Maret <[EMAIL PROTECTED]>
Source: http://www.iram.fr/~gildas/dist/gildas-src-jul07a.tar.gz
Source-MD5: d98f4f6c0a8596b73852268f54946bfd
Depends: <<
  fftw3-shlibs, libpng3-shlibs, openmotif3-shlibs, x11
<<
BuildDepends: <<
  cfitsio, fftw3, g95, libpng3, openmotif3, x11-dev
<<
Patch: gildas.patch
CompileScript: <<
  true
<<
InstallScript: <<
  #!/bin/bash -e
  export gagsrcdir=%b
  source admin/gildas-env.sh -s %p/lib:%p/include -c g95
  export gagexedir=%i/lib/gildas
  install -d %i/bin %i/lib
  make install
  if [ `uname -p` = "powerpc" ]; then
    export arch='powerpc'
  else
    export arch='pc'
  fi    
  cd %i/lib/gildas/${arch}-darwin-g95/bin/
  for file in * ; do
    ln -s %p/lib/gildas/${arch}-darwin-g95/bin/${file} %i/bin/${file}
  done
  cd %i/lib/gildas/${arch}-darwin-g95/libexec/
  for file in * ; do
    ln -s %p/lib/gildas/${arch}-darwin-g95/libexec/${file} %i/bin/${file}
  done
  /usr/bin/sed -e "s|%i|%p|g" -i "" 
%i/lib/gildas/${arch}-darwin-g95/etc/gag.dico.gbl
<<
PostInstScript: echo -e "\n*** Installation completed. Please open a new term 
to use gildas ***"
RuntimeVars: <<
  G95_ENDIAN: NATIVE
  GAG_PATH: %p/lib/gildas/pc-darwin-g95/etc:%p/lib/gildas/powerpc-darwin-g95/etc
<<
DescDetail: <<
Gildas, the "Grenoble Image and Line Data Analysis Software", is a
collection of software oriented towards radioastronomical applications
(either single-dish or interferometer). It is daily used to reduce all
data acquired with the IRAM 30m telescope and Plateau de Bure
Interferometer (PdBI).
<<
DescPort: <<
Link against internal LAPACK and BLAS libraries, instead of the
Accelerate framework or ATLAS. Python support is disabled for now
because it does not work.
<<
Homepage: http://www.iram.fr/IRAMFR/GILDAS/gildas.html

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to