Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci
In directory 
sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv12571/10.4/stable/main/finkinfo/sci

Modified Files:
        gdcm.info 
Log Message:
New upstream.  Use -DCMAKE_INSTALL_NAME_DIR to get rid of nightmarish
double loop.


Index: gdcm.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci/gdcm.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- gdcm.info   10 Dec 2012 14:55:50 -0000      1.3
+++ gdcm.info   22 Mar 2013 20:31:51 -0000      1.4
@@ -1,5 +1,5 @@
 Package: gdcm
-Version: 2.2.1
+Version: 2.2.2
 Revision: 1
 Maintainer: Alexander Hansen <alexkhan...@users.sourceforge.net>
 Homepage: http://gdcm.sourceforge.net/wiki/index.php/Main_Page
@@ -21,13 +21,12 @@
 of which should be extended to provide a full set of tools for a researcher or
 small medical imaging vendor to interface with an existing medical database.
 GDCM is an open source implementation of the DICOM standard. It offers some
-compatibility with ACR-NEMA 1.0 & 2.0 files (raw files). It is written in C++
-and offers wrapping to the following target languages (via the use of swig):
+compatibility with ACR-NEMA 1.0 & 2.0 files (raw files). 
 <<
 License: BSD
 
 Source: mirror:sourceforge:%n/%n%%202.x/GDCM%%20%v/%n-%v.tar.bz2
-Source-MD5: 51a84e2d3d7bc9ba38fd9f77208a56dc
+Source-MD5: 91ba9180c5dcc706f776b1a2af0c63f7
 
 BuildDepends: cmake,expat1, libopenjpeg, swig, system-java-dev, 
system-openssl-dev
 Depends: %N-shlibs (= %v-%r), libopenjpeg-shlibs
@@ -38,6 +37,7 @@
 cd ../gdcmbin
 cmake  -DCMAKE_PREFIX_PATH=%p \
                -DCMAKE_INSTALL_PREFIX:PATH=%i \
+               -DCMAKE_INSTALL_NAME_DIR=%p/lib \
                -DGDCM_BUILD_SHARED_LIBS:BOOL=ON \
                -DGDCM_USE_SYSTEM_ZLIB:BOOL=ON \
                -DGDCM_USE_SYSTEM_EXPAT:BOOL=ON \
@@ -54,43 +54,6 @@
 #!/bin/sh -ev
 cd ../gdcmbin
 make install
-pushd %i/lib
-for lib in     libgdcmCommon.2.2 \
-                       libgdcmDICT.2.2 \
-                       libgdcmDSED.2.2 \
-                       libgdcmIOD.2.2 \
-                       libgdcmMEXD.2.2 \
-                       libgdcmMSFF.2.2 \
-                       libgdcmcharls.2.2 \
-                       libgdcmjpeg12.2.2 \
-                       libgdcmjpeg16.2.2 \
-                       libgdcmjpeg8.2.2 \
-                       libsocketxx.1.2 
-do 
-       #fix install_name
-       if [ "$lib" = "libsocketxx.1.2" ] 
-               then n=0
-               else n=1
-       fi 
-       install_name_tool -id %p/lib/$lib.dylib $lib.$n.dylib
-    for linkedlib in   libgdcmCommon.2.2 \
-                                               libgdcmDICT.2.2 \
-                                               libgdcmDSED.2.2 \
-                                               libgdcmIOD.2.2 \
-                                               libgdcmMEXD.2.2 \
-                                               libgdcmMSFF.2.2 \
-                                               libgdcmcharls.2.2 \
-                                               libgdcmjpeg12.2.2 \
-                                               libgdcmjpeg16.2.2 \
-                                               libgdcmjpeg8.2.2 \
-                                               libsocketxx.1.2 
-               do install_name_tool -change $linkedlib.dylib 
%p/lib/$linkedlib.dylib $lib.$n.dylib
-       done
-       # fix executables and jnlib
-       for exe in ../bin/* libgdcmjni.jnilib
-               do install_name_tool -change $lib.dylib %p/lib/$lib.dylib $exe
-       done
-done
 <<
 DescPackaging: <<
        Docs use TeX for generation, so we aren't building them in this package.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to