Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31305

Modified Files:
        gromacs.info 
Log Message:
fixed numerous issues now works for 10.5, 10.6, long PATH values, thanks to 
Allen Wilter

Index: gromacs.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/gromacs.info,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- gromacs.info        11 Sep 2009 03:29:53 -0000      1.16
+++ gromacs.info        21 Sep 2009 18:11:39 -0000      1.17
@@ -1,8 +1,8 @@
 Package: gromacs
 Version: 4.0.5
-Revision: 1000
-Depends: %N-shlibs (= %v-%r), fftw3-shlibs, x11, openmotif3-shlibs
-BuildDepends: fftw3, x11-dev
+Revision: 1003
+Depends: %N-shlibs (= %v-%r), fftw3-shlibs, x11, openmotif4-shlibs, gsl-shlibs 
+BuildDepends: fftw3, x11-dev, gsl
 BuildConflicts: gromacs-dev (<< %v-%r)
 BuildDependsOnly: false
 Source: mirror:custom:%n-%v.tar.gz
@@ -10,42 +10,55 @@
 Primary: ftp://ftp.gromacs.org/pub/gromacs/
 <<
 Source-MD5: 2db2261852a4d3a97547979f379dee94
-ConfigureParams: --enable-shared --prefix=%p --exec-prefix=%p --mandir=%p/share
+ConfigureParams: --enable-shared --prefix=%p --exec-prefix=%p 
--mandir=%p/share --with-x --with-gsl --x-includes=/usr/X11/include 
--x-libraries=/usr/X11/lib
 DocFiles: AUTHORS COPYING README
 PatchScript: <<
 #!/bin/zsh -efv
+perl -pi.bak -e 's|512|4096|g'  src/gmxlib/futil.c
 perl -pi.bak -e 's|/bin/csh|/bin/csh -f|g' share/**/* 2>/dev/null
 perl -pi.bak -e 's|/lib/cpp|/usr/bin/cpp|g' share/**/* 2>/dev/null
 <<
 CompileScript: <<
-#!/bin/bash -ev
-if [ `uname -p` = "powerpc" ]; then
-./configure %c --enable-ppc-altivec
+#!/bin/bash -efv
+
+flag64=""
+if [[ %m == "x86_64" ]]; then
+    flag64="--enable-apple-64bit"
+fi
+
+if [[ $(uname -p) == "powerpc" ]]; then
+./configure %c --enable-ppc-altivec 
 else
-./configure %c --build=%m-apple-darwin`uname -r|cut -f1 -d.` 
--host=%m-apple-darwin`uname -r|cut -f1 -d.`
+./configure %c --build=%m-apple-darwin`uname -r|cut -f1 -d.` 
--host=%m-apple-darwin`uname -r|cut -f1 -d.`     $flag64
 fi
 num_cpu=$(echo `sysctl -n hw.ncpu`)
 make -j $num_cpu
 <<
 InstallScript: <<
-#!/bin/bash -ev
+#!/bin/bash -efv
+
+flag64=""
+if [[ %m == "x86_64" ]]; then
+    flag64="--enable-apple-64bit"
+fi
+
 mkdir -p %i/include/%n
 make install DESTDIR=%d
 
 make clean
-if [ `uname -p` = "powerpc" ]; then
+if [ $(uname -p) = "powerpc" ]; then
 ./configure %c --enable-ppc-altivec --disable-float --program-suffix="_d"
 else
-./configure %c --build=%m-apple-darwin`uname -r|cut -f1 -d.` 
--host=%m-apple-darwin`uname -r|cut -f1 -d.` --disable-float 
--program-suffix="_d"
+./configure %c --build=%m-apple-darwin`uname -r|cut -f1 -d.` 
--host=%m-apple-darwin`uname -r|cut -f1 -d.` --disable-float 
--program-suffix="_d"  $flag64
 fi
 num_cpu=$(echo `sysctl -n hw.ncpu`)
 make -j $num_cpu
+make install DESTDIR=%d
 <<
 SplitOff: <<
 Package: %N-shlibs
-Depends: fftw3-shlibs, x11, openmotif3-shlibs
+Depends: fftw3-shlibs, x11, openmotif4-shlibs
 Files: <<
-       lib/libgmx.5.0.0.dylib
         lib/libgmx.5.dylib
         lib/libgmxana.5.0.0.dylib
         lib/libgmxana.5.dylib
@@ -70,7 +83,7 @@
 <<
 SplitOff2: <<
 Package: %N-dev
-Depends: %N-shlibs (= %v-%r), fftw3-shlibs, x11, openmotif3-shlibs
+Depends: %N-shlibs (= %v-%r), fftw3-shlibs, x11, openmotif4-shlibs
 Files: <<
        lib/*.a
        lib/*.la
@@ -80,7 +93,6 @@
        lib/libmd_d.dylib
        lib/libgmx_d.dylib
        lib/libgmxana_d.dylib
-       lib/libmd_d.dylib
 <<
 BuildDependsOnly: True
 DocFiles: AUTHORS COPYING README
@@ -90,8 +102,8 @@
 GROMACS is a versatile and extremely well optimized package
 to perform molecular dynamics computer simulations and
 subsequent trajectory analysis. It is developed for
-biomolecules like proteins, but the extremely high 
-performance means it is used also in several other field 
+biomolecules like proteins, but the extremely high
+performance means it is used also in several other field
 like polymer chemistry and solid state physics. This
 version has the dynamic libs and executables.
 The directories tutor, top, template and html are in


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to