Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8241

Added Files:
        coot.info ccp4-onlylibs-dev.info 
Log Message:
using g++3.3 until software authors correct bug in g++4 compiled code

--- NEW FILE: ccp4-onlylibs-dev.info ---
Package: ccp4-onlylibs-dev
# Use version numbering to sync with the current CCP4 release:
Version: 5.99.5
Revision: 1
#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   
SourceRename: %n-%v.tar.gz
SourceDirectory: %n
Source2: http://chemistry.ucsc.edu/~wgscott/xtal/%n/%n-extras-0.1.tgz
Source2-MD5: ea307964e3786bef0868ea56aaaa0471
GCC: 3.3
# This is temporary until software author corrects g++4 bug 
Depends:  
BuildDepends: g77 (>= 3.4.0-2), f2c, fort77 
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
###############################################################################
PatchScript: <<
#!/bin/zsh -ef
umask 0022
# Use my patched configure and ccp4.setup-zsh files
cp ../ccp4.setup-zsh include/.
cp ../configure .
# setup scripts for tcsh, zsh and bash users
export TEMPXTAL=$PWD:h
#
perl -pi.bak -e 's|/xtal|\$TEMPXTAL|g' include/ccp4.setup*   
# build prefix (changed in install)
perl -pi.bak -e 's|/prefix|%p|g' include/ccp4.setup*            
# location of tcktk, blt (not needed here, but doesn't hurt).
perl -pi.bak -e 's|/usr/local/bin|%p/bin|g' include/ccp4.setup*   
# same
# make copy for tcsh users (CCP4 convention is no suffix)
cp include/ccp4.setup-dist include/ccp4.setup
#
# We need the mmdbold clipper libraries built for COOT:
perl -pi.bak -e 's|enable_mmdbold=no|enable_mmdbold=yes|g' 
lib/clipper/configure*
# clean up:
rm -f  include/*.bak lib/clipper/*.bak
<<
###############################################################################
CompileScript: <<
#!/bin/zsh -ef
umask 0022
export TEMPXTAL=$PWD:h
source include/ccp4.setup-zsh
export DYLD_LIBRARY_PATH=$CLIB
#
FLIBS="-L%p/lib -lg2c" LDFLAGS="-L/usr/lib -lg2c -lSystemStubs -L%p/lib" 
FC="%p/bin/g77" CXX="/usr/bin/g++-3.3" CC="/usr/bin/gcc" ./configure --onlylibs 
Darwin
#
#  fix some post-configure bugs
#
make -i         2>../make.log  |tee ../make.log      
make -i install 2>../makeinst.log  |tee ../makeinst.log  
#
echo "Ignoring error messages.  They are harmless"
#
command ls -1 lib/*.a
sleep 10
#
# Check to make sure all the libraries we need were built:
# (Sort real errors from the bogus ones we suppressed.)

if (( $(command ls -1 lib/*.a | command wc -l) == 15 ));then 
    print "Build appears to have succeeded."
else
    print "*****************************"
    print "      Build has failed:"
    print "*****************************"
    sleep 3
    cat ../make.log  ../makeinst.log
    return 1
fi

#
make realclean
<<
###############################################################################
InstallScript: <<
#!/bin/zsh -ef
umask 0022
export TEMPXTAL=$PWD:h
source include/ccp4.setup-zsh
export DYLD_LIBRARY_PATH=$CLIB
ORIGDIR=$(dirname $PWD)
#
# 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*
 rm -f include/*.bak
 perl -pi.bak -e 's|src/fink.build/%n-%v-%r/%n|share/xtal/%n-%v|g' 
bin/clipper-config 
 rm -f bin/clipper-config.bak                                                   
       
 perl -pi.bak -e 's|/src/fink.build/%n-%v-%r/%n/lib|/share/xtal/%n-%v/lib|g' 
lib/*.la
 rm -f lib/*.la.bak
#
# Now install:
 mkdir -p %i/share/xtal/%n-%v
 cp -R * %i/share/xtal/%n-%v/.
 ranlib %i/share/xtal/%n-%v/lib/**/*.a
<<
###############################################################################
Description: CCP4 Libraries
DescDetail: <<
This package installs CCP4 libraries, only.  If you need all 
of CCP4, install the self-contained CCP4 package instead of this.
The licensing for the CCP4 library loosely conforms to the LGPL,
unlike the more restrictive CCP4 license.

This version compiles with the Apple Lapack/Blas framework

CCP4lib files will be installed under 
%p/share/xtal/ccp4-onlylibs-dev-5.99.5.

Programs requiring these libraries to build or run need to
source the appropriate
%p/share/xtal/ccp4-onlylibs-dev-5.99.5/include/ccp4.setup
file for the shell, as is done in the coot.info file.

The primary use for this package, currently, is for compiling COOT.
<<
DocFiles: conditions.txt 
Homepage: http://www.ccp4.ac.uk  
License: Restrictive
Maintainer: W. G. Scott <[EMAIL PROTECTED]>

--- NEW FILE: coot.info ---
Package:coot
Version: 0.1.0-pre-3
Revision: 4
GCC: 3.3 
# This is temporary until software author corrects g++4 bug 
#Source: http://www.ysbl.york.ac.uk/~emsley/software/pre-release/%n-%v.tar.gz
Source: http://chemistry.ucsc.edu/~wgscott/xtal/coot/%n-%v.tar.gz
Source-MD5: 6cb82b1069c1975ae05c7215e848af27 
SourceDirectory: %n-%v
Source2: 
http://www.ysbl.york.ac.uk/~emsley/software/extras/refmac-lib-data-monomers.tar.gz
Source2-MD5: 88cdbabf47914740f2d13e6960eea3c6
Source3: 
http://www.ysbl.york.ac.uk/~emsley/software/extras/reference-structures.tar.gz
Source3-MD5: c09bb6b5524901cb0fde14589546224e 
###############################################################################
BuildDepends: ccp4-onlylibs-dev, glib, gtk+2, freeglut, gtkglarea, guile16, 
guile16-dev, gsl, libglade2,  gtk-canvas (>= 0.1.1-20), libart2 (>= 2.3.16-2), 
libart2-shlibs (>= 2.3.16-2), guile16-net-http, gtk+2-dev, libgettext3-dev, 
imlib, libjpeg, giflib, libpng3, gnome-libs-dev, fftw, libiconv-dev, python24
#
Depends: guile16-shlibs, gtk-canvas (>= 0.1.1-20), gsl-shlibs, 
libglade2-shlibs, guile16-gtk, guile16-www, guile16-gui, guile16-goosh (>= 
1.3-2), guile16, guile16-net-http, freeglut-shlibs, libart2-shlibs (>= 
2.3.16-2), coot-shlibs (= %v-%r), python24
#
BuildDependsOnly: false
NoSetLDFLAGS: true
###############################################################################
Description: Crystallographic molecular graphics
DescDetail: <<
Coot stands for Crystallograhic Object Oriented Toolkit. It is a testbest 
toolkit for (Protein) Crystallography. Coot uses professional (and free) 
widgets (with the gui builder glade), mmdb, clipper, and OpenGL, together 
with a new approach to map contouring and importing/creation and other
(modelling) operations. The mmdb, clipper, ssm and mccp4 libraries are now
provided in the ccp4-onlylibs-dev fink package. On-line documentation is 
available from the coot Web site (see below) and is updated regularly.
<<
###############################################################################
PatchScript:  <<
#!/bin/zsh -ef
perl -pi.bak -e 's|use-modules \(goosh\)|use-modules \(goosh goosh\)|g' 
scheme/coot-utils.scm
perl -pi.bak -e 's/include <malloc.h>//g' **/*.c
<<
###############################################################################
ConfigureParams:  --with-mmdb-prefix=$CCP4  --with-clipper-prefix=$CCP4 
--with-fftw=$CCP4 --with-glut-prefix=%p --with-gl-prefix=/usr/X11R6 
--with-gtkcanvas-prefix=%p --with-ssmlib-prefix=$CCP4  --with-imlib-prefix=%p 
--with-gtkgl-prefix=%p --with-glib-prefix=%p --with-gsl-prefix=%p --with-guile 
--with-python
###############################################################################
CompileScript: <<
#!/bin/zsh -ef
source %p/share/xtal/ccp4-onlylibs-dev-5.99.5/include/ccp4.setup-zsh
export PATH=%p/bin:%p/share/guile/1.6/scripts/binoverride:$PATH
export SED=/usr/bin/sed
export PYTHONPATH=""
FLIBS="-L%p/lib" \
CPPFLAGS="-I$CCP4/lib/clipper/clipper/mmdbold" \
LDFLAGS="-L$CLIB -L/usr/lib -lSystemStubs -flat_namespace -L%p/lib" \
FC="%p/bin/g77" \
CXX="/usr/bin/g++-3.3" \
CC="/usr/bin/gcc" \
py_path=%p/bin/python \
./configure %c
#
make
<<
###############################################################################
InstallScript: <<
#!/bin/zsh -ef
source %p/share/xtal/ccp4-onlylibs-dev-5.99.5/include/ccp4.setup-zsh 
export PATH=%p/bin:%p/share/guile/1.6/scripts/binoverride:$PATH
export PYTHONPATH=""
export SED=/usr/bin/sed
cp src/coot.py python/coot.py
make install prefix=%i
#
# Clean up the 120 MB  mess, which zsh makes so much fun:
/bin/rm -f **/*.o
# enable coot to use its own refmac library:
#
perl -pi.bak -e 's|\# COOT_REFMAC_LIB|COOT_REFMAC_LIB|g' setup/coot.sh
perl -pi.bak -e 's|\# export COOT_REFMAC_LIB_DIR|export COOT_REFMAC_LIB_DIR|g' 
setup/coot.sh  
perl -pi.bak -e 's|\# PYTHONPATH|PYTHONPATH|g' setup/coot.sh
perl -pi.bak -e 's|\# PYTHONPATH|PYTHONPATH|g' setup/coot.csh
perl -pi.bak -e 's|\# setenv COOT_REFMAC_LIB_DIR|setenv COOT_REFMAC_LIB_DIR|g' 
setup/coot.csh  
#
# Add ancillary files to %i/share/coot:
#
mkdir -p %i/share/coot/etc
mkdir -p %i/share/coot/python
cp -R setup %i/share/coot/. 
cp -R ../lib %i/share/coot/. 
# cp %i/share/coot/src/coot.py %i/share/coot/python/.
# Reference structures should be in %i/share/coot/reference-structures
cp -R ../reference-structures %i/share/coot/.
cp -R * %i/share/coot/etc/.
# 0.1.0 %n (>= 0.1.0-pre-1-1) 0.1.0 %n (>= 0.1.0-pre-1-1)
# Get rid of spurious, wrongly placed directory
rm -rf %i/setup
# The new wrapper creates problems.  Get rid of it.
/bin/rm -f %i/bin/coot
cp %i/bin/coot-real %i/bin/coot
/bin/rm -f %i/bin/coot-real 
<<
###############################################################################
DocFiles: README AUTHORS NEWS COPYING ABOUT-NLS BUGS TODO
License: GPL
Maintainer: W. G. Scott <[EMAIL PROTECTED]> 
Homepage: http://www.ysbl.york.ac.uk/~emsley/coot/doc/user-manual.html 
###############################################################################
#
SplitOff: <<
Package: %N-shlibs
Files: <<
lib/libccp4mg-*.dylib  
lib/libcoot-*.dylib  
<<
Shlibs: <<
%p/lib/libccp4mg-surface.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libccp4mg-utils.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-analysis.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-AngleInfo.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-atomutils.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-cabuild.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-compat.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-coord-extras.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-coord-utils.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-coords.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-db-main.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-geometry.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-high-res.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-ideal.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-isosurface.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-ligand.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-map-heavy.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-map-utils.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-mini-mol.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-mmtz-extras.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-sequence-view.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-shelx.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-skeleton.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-surface.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-tw.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-utils.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-wrap-guile.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
%p/lib/libcoot-wrap-python.0.0.0.dylib 0.1.0 %n (>= 0.1.0-pre-1-1)
<<
<< 
#
###############################################################################
#
SplitOff2: <<
Package: %N-dev
BuildDependsOnly: True
Files: <<   
include/*
lib/*.a
lib/*.la
<<
<<
###############################################################################



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to