Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv16380

Modified Files:
        hdf5-18.info 
Log Message:
Fix upgrade compatibility symlinks.

Index: hdf5-18.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/hdf5-18.info,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- hdf5-18.info        30 Dec 2010 13:29:46 -0000      1.9
+++ hdf5-18.info        19 May 2011 18:26:26 -0000      1.10
@@ -1,6 +1,6 @@
 Package: hdf5-18
 Version: 1.8.5-patch1
-Revision: 2
+Revision: 3
 Source: ftp://ftp.hdfgroup.org/HDF5/current/src/hdf5-%v.tar.gz 
 Source-MD5: d22a35a17877e369055ed50da5ba91fa
 Description: Scientific data format (v1.8 API)--headers
@@ -38,31 +38,29 @@
 InstallScript: <<
        #!/bin/sh -ev
        make install DESTDIR=%d
+       #compatibility symlinks
        install -d %i/lib/%N/include
        install -d %i/lib/%N/lib
-       pushd %i/include
+       pushd %i/lib/%N/include
 #      generate upgrade symlinks
-       for file in *.h
+       for file in ../../../include/*.h
        do
-               ln -s $file ../lib/hdf5-18/include/$file 
+               ln -s $file 
        done    
-       popd
-       pushd %i/lib
+       cd ../lib
        #remove .la files which are in hdf5-18
-       rm libhdf5.la libhdf5_hl.la 
-#      generate upgrade symlinks
-       ln -s libhdf5.6.dylib ../lib/%N/lib/libhdf5.6.dylib
-       ln -s libhdf5_hl.6.dylib ../lib/%N/lib/libhdf5_hl.0.dylib
-       ln -s libhdf5_cpp.6.dylib ../lib/%N/lib/libhdf5_cpp.0.dylib
-       ln -s libhdf5_hl_cpp.6.dylib ../lib/%N/lib/libhdf5_hl_cpp.0.dylib
-       ln -s libhdf5.dylib ../lib/%N/lib/libhdf5.dylib
-       ln -s libhdf5_cpp.dylib ../lib/%N/lib/libhdf5_cpp.dylib
-       ln -s libhdf5_hl.dylib ../lib/%N/lib/libhdf5_hl.dylib
-       ln -s libhdf5_hl_cpp.dylib ../lib/%N/lib/libhdf5_hl_cpp.dylib
-       for file in *.la *.settings
-       do
-               ln -s $file ../lib/hdf5-18/lib/$file 
-       done    
+#      rm libhdf5.la libhdf5_hl.la 
+#      generate upgrade compatibility symlinks
+       ln -s ../../libhdf5.6.dylib 
+       ln -s ../../libhdf5.6.dylib libhdf5.dylib
+       ln -s ../../libhdf5_hl.6.dylib libhdf5_hl.0.dylib
+       ln -s ../../libhdf5_hl.6.dylib libhdf5_hl.dylib
+       ln -s ../../libhdf5_cpp.6.dylib libhdf5_cpp.0.dylib
+       ln -s ../../libhdf5_cpp.6.dylib libhdf5_cpp.dylib
+       ln -s ../../libhdf5_hl_cpp.6.dylib libhdf5_hl_cpp.0.dylib
+       ln -s ../../libhdf5_hl_cpp.6.dylib libhdf5_hl_cpp.dylib
+       ln -s ../../libhdf5.la 
+       ln -s ../../libhdf5.settings
        popd
 # remove fortran examples
        pushd %i/share/hdf5_examples


------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to