Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv21727

Added Files:
        eden.info eden.patch 
Log Message:
removed false dependency on gcc44, ok for 10.7

--- NEW FILE: eden.patch ---
diff -ruN eden_orig/source/Makefile eden/source/Makefile
--- eden_orig/source/Makefile   2004-11-21 23:55:13.000000000 -0800
+++ eden/source/Makefile        2004-11-22 00:08:51.000000000 -0800
@@ -56,14 +56,14 @@
 #######################################################################
 #      Directory where the FFTW include and lib are
 #######################################################################
-FFTW           = /sw
+FFTW           = /swprefix
 LIB            = $(FFTW)/lib
 INC            = $(FFTW)/include
 
 #######################################################################
 #      Directory to install the binary, version
 #######################################################################
-BIN            = $(HOME)/bin
+BIN            = /swinstallprefix/bin
 VERSION                =V5.3
 
 #######################################################################
@@ -74,7 +74,11 @@
 # -O3 on HP, -O2 on SGI or DEC.
 #
 #######################################################################
-CFLAGS         =   -Wall -pipe -g3
+# added for os x fink:
+
+CFLAGS         =   -Wall -pipe -g3
+
+#CFLAGS                =   -Wall -pipe -g3
 #CFLAGS                =   -Wall -pipe -marchi686 -pedantic  -gdwarf-2 -g3
 #CFLAGS                =   -Wall -O3 -march=i686 
 ifneq ($(FFTW),/usr/local)
@@ -88,7 +92,9 @@
 # Use different libraries and include files for single and
 # double precision versions of EDEN.
 #######################################################################
-DOUBLESWITCH   = ON
+# got rid of tab
+
+DOUBLESWITCH = ON
 
 ifeq ($(DOUBLESWITCH),ON)
 LDFLAGS         = -L$(LIB) -ldfftw -lm  
@@ -126,8 +132,8 @@
                $(CC) -o $@ $^
 
 install:       all
-               mv fbyteswap $(BIN)
-               mv eden $(BIN)/$(TARGET)
+               cp fbyteswap $(BIN)
+               cp eden $(BIN)/$(TARGET)
                chmod 751 $(BIN)/$(TARGET)
                chmod +x mkeden.csh
                ./mkeden.csh $(BIN) $(BIN)/$(TARGET)

--- NEW FILE: eden.info ---
Package: eden
Version: 5.3
Revision: 9
Source: http://edencrystallography.googlecode.com/files/%n-%v.tar.gz
Source-MD5: 17f4908db1944d788bac44e59c8a5cb5     
SourceDirectory: eden
Depends: x11, fftw-shlibs | fftw-mpi-shlibs, grace, gsl-shlibs
BuildDepends: fink (>= 0.24.12), x11-dev, gsl, fftw | fftw-mpi, gsl
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
PatchFile: %n.patch
PatchFile-MD5: 7f5b10a65afa58b09b82c0ecae8d4bf9
PatchScript: <<
        %{default_script}
perl -pi -e 's|/swprefix|%p|g' source/Makefile
perl -pi -e 's|/swinstallprefix|%i|g' source/Makefile
perl -pi -e 's|/swprefix|%p|g' python/eden.py
perl -pi -e 's|mozilla|open|g' python/eden.py
<<
CompileScript: << 
#!/bin/bash -ve
if [[ $( sw_vers -productVersion ) < 10.6 ]];then
    PATH=/usr/bin:$PATH
else
    PATH=%p/var/lib/fink/path-prefix-10.6:/usr/bin:$PATH
fi
 cd source
 make
<<
InstallScript: <<
#!/bin/bash -ve
if [[ $( sw_vers -productVersion ) < 10.6 ]];then
    PATH=/usr/bin:$PATH
else
    PATH=%p/var/lib/fink/path-prefix-10.6:/usr/bin:$PATH
fi
 mkdir -p %i/bin
 cd source
 make install
 make clean
 perl -pi -e 's|DOUBLESWITCH = ON|DOUBLESWITCH  = OFF|g' Makefile
 make
 make install
 make clean
cd ..
mkdir -p %i/share/xtal/%n
cp -R * %i/share/xtal/%n/.
mkdir -p %i/share/doc/%n
cp manual/UserManual.pdf %i/share/doc/%n/EdenUserManual.pdf
rm -f %i/bin/eden
rm -f %i/bin/ieden
ln -s %p/share/xtal/%n/python/%n.py %i/bin/ieden
cp %i/bin/seden %i/bin/eden
<<
RunTimeVars: EDENHOME: %p/share/xtal/%n
Description: Electron density holographic refinement
DescDetail: <<
Improve electron density maps in a maximally unbiased manner.
Written by Hanna and Abraham Szoke.  There are now two versions
of eden, "seden" and "deden."  seden is compiled with single-precision
fftw libs, and is faster and less memory-intensive.  deden is double-
precision and is possibly more accurate (but in practice the differences
appear insignificant).  ieden is a new python Tkinter-based GUI.  Type
"eden" or "seden" to invoke single-precision eden, "ieden" for the GUI,
and "deden" for double-precision eden.  GUI users need to define the
environment variable EDITOR, eg:  export EDITOR='see'
or setenv EDITOR vim.
<<
License: GPL              
Homepage: http://code.google.com/p/edencrystallography/
Maintainer: W. G. Scott <[email protected]>


------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to