Update of /cvsroot/fink/dists/10.4-transitional/stable/main/finkinfo/sci
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5265
Added Files:
eden.info eden.patch
Log Message:
move from 10.3
--- 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 -Wno-long-double
+
+#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: 1
Source: http://www.edencrystallography.org/%n_V%v.tar.gz
SourceRename: %n-%v.tar.gz
Source-MD5: 17f4908db1944d788bac44e59c8a5cb5
SourceDirectory: eden
Depends: x11, fftw-shlibs | fftw-mpi-shlibs, tcltk, grace,
scientificpython-py23
BuildDepends: tcltk-dev, x11-dev, fftw, gsl
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
Patch: %n.patch
PatchScript: <<
perl -pi.bak -e 's|/swprefix|%p|g' source/Makefile
perl -pi.bak -e 's|/swinstallprefix|%i|g' source/Makefile
perl -pi.bak -e 's|/swprefix|%p|g' python/eden.py
<<
CompileScript: <<
cd source; make
<<
InstallScript: <<
#!/bin/zsh -f
mkdir -p %i/bin
cd source; make install
make clean
perl -pi.bak -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://www.edencrystallography.org
Maintainer: W. G. Scott <[EMAIL PROTECTED]>
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits