Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv31425
Modified Files:
ccp4-onlylibs-dev.info
Log Message:
ccp4-onlylibs-dev update for coot
Index: ccp4-onlylibs-dev.info
===================================================================
RCS file:
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/ccp4-onlylibs-dev.info,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- ccp4-onlylibs-dev.info 22 Nov 2006 17:16:39 -0000 1.11
+++ ccp4-onlylibs-dev.info 1 Jan 2007 01:43:37 -0000 1.12
@@ -1,32 +1,30 @@
Package: ccp4-onlylibs-dev
# Use version numbering to sync with the current CCP4 release:
-Version: 6.0
-Revision: 1012
+Version: 6.0.2
+Revision: 1
GCC: 4.0
-#Source: ftp://ftp.ccp4.ac.uk/prerelease/%n.tar.gz
-#Source-MD5: cf085751833aecc7ccef9e67de7e9fcc
-Source: http://chemistry.ucsc.edu/~wgscott/xtal/%n/%n-%v.tar.gz
-Source-MD5: d9dd2e786953c812acec42b41a1c08a5
+Source: ftp://ftp.ccp4.ac.uk/prerelease/%n.tar.gz
+Source-MD5: edb1034b0a2699bcb43abb6463f7b9e9
+#Source: http://chemistry.ucsc.edu/~wgscott/xtal/%n/%n-%v.tar.gz
+#Source-MD5: d9dd2e786953c812acec42b41a1c08a5
SourceRename: %n-%v.tar.gz
SourceDirectory: %n
Source2: http://chemistry.ucsc.edu/~wgscott/xtal/%n/%n-extras-0.1.tgz
Source2-MD5: ea307964e3786bef0868ea56aaaa0471
-#Source3: http://chemistry.ucsc.edu/~wgscott/xtal/clipper_%v-src.tgz
-#Source3-MD5: 1c7a91218a4a27af1c2506f39df4692a
Depends:
-# BuildDepends: gcc4 (>= 2:4.1.0-1)
-BuildDepends: fort77
+BuildDepends: gcc4 (>= 2:4.1.9999-200606) | gcc42
+# BuildDepends: fort77
BuildDependsOnly: false
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
###############################################################################
-Patch: %n.patch
+#Patch: %n.patch
PatchScript: <<
#!/bin/zsh -efv
umask 0022
# Use my patched configure and ccp4.setup-zsh files
cp ../ccp4.setup-zsh include/.
-cp ../configure .
+# cp ../configure .
# setup scripts for tcsh, zsh and bash users
export TEMPXTAL=$PWD:h
#
@@ -39,8 +37,18 @@
# make copy for tcsh users (CCP4 convention is no suffix)
cp include/ccp4.setup-dist include/ccp4.setup
#
+# Enable everything.
# We need the mmdbold clipper libraries built for COOT:
perl -pi.bak -e 's|enable_mmdbold=no|enable_mmdbold=yes|g'
lib/clipper/configure*
+perl -pi.bak -e 's|enable_phs=no|enable_phs=yes|g' lib/clipper/configure*
+perl -pi.bak -e 's|enable_mmdb=no|enable_mmdb=yes|g' lib/clipper/configure*
+perl -pi.bak -e 's|enable_minimol=no|enable_minimol=yes|g'
lib/clipper/configure*
+perl -pi.bak -e 's|enable_cif=no|enable_cif=yes|g' lib/clipper/configure*
+perl -pi.bak -e 's|enable_ccp4=no|enable_ccp4=yes|g' lib/clipper/configure*
+# perl -pi.bak -e 's|enable_cctbx=no|enable_cctbx=yes|g' lib/clipper/configure*
+perl -pi.bak -e 's|enable_cns=no|enable_cns=yes|g' lib/clipper/configure*
+perl -pi.bak -e 's|enable_fortran=no|enable_fortran=yes|g'
lib/clipper/configure*
+
# clean up:
rm -f include/*.bak lib/clipper/*.bak
<<
@@ -53,19 +61,21 @@
source include/ccp4.setup-zsh
export DYLD_LIBRARY_PATH=$CLIB
#
-#FC="gfortran" ./configure --onlylibs Darwin
-FC="fort77" ./configure --onlylibs Darwin
+FC="gfortran" ./configure --onlylibs Darwin
+#FC="fort77" ./configure --onlylibs Darwin
+ln -s $CCP4/lib/src $CCP4/lib/clipper/ccp4
#
# fix some post-configure bugs
#
-make -i 2>../make.log |tee ../make.log
-make -i install 2>../makeinst.log |tee ../makeinst.log
+make 2>../make.log |tee ../make.log
+make install 2>../makeinst.log |tee ../makeinst.log
#
echo "Ignoring error messages. They are harmless"
#
command ls -1 lib/*.a
sleep 10
#
+rm $CCP4/lib/clipper/ccp4
make realclean
<<
###############################################################################
@@ -80,7 +90,7 @@
# Change environment scripts to match final installation install prefix:
perl -pi.bak -e 's|\$TEMPXTAL|%p/share/xtal|g' include/ccp4.setup*
perl -pi.bak -e 's|CCP4_MASTER/%n|CCP4_MASTER/%n-%v|g' include/ccp4.setup-zsh
- perl -pi.bak -e 's|ccp4-5.99.5|%n-%v|g' include/ccp4.setup*
+ perl -pi.bak -e 's|ccp4-6.0|%n-%v|g' include/ccp4.setup*
rm -f include/*.bak
perl -pi.bak -e 's|%b|%p/share/xtal/%n-%v|g' bin/clipper-config
rm -f bin/clipper-config.bak
@@ -151,13 +161,12 @@
error that appears in cpirate and coot fft calculations.
CCP4lib files will be installed under
-%p/share/xtal/ccp4-onlylibs-dev-6.0. This is essentially
-identical in content to the corresponding files in CCP4 6.0.
-Includes patches from ccp4 through March 22, 2006.
+%p/share/xtal/ccp4-onlylibs-dev-6.0.2. This is slightly newer
+in content relative to the corresponding files in CCP4 6.0.2.
Programs requiring these libraries to build or run need to
source the appropriate
-%p/share/xtal/ccp4-onlylibs-dev-6.0/include/ccp4.setup
+%p/share/xtal/ccp4-onlylibs-dev-6.0.2/include/ccp4.setup
file for the shell, as is done in the coot.info file. Unless
you are building something external to fink, there is no need
to source that file.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits