Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv18193

Added Files:
        pointless.info pointless.patch 
Log Message:
another pointless update

--- NEW FILE: pointless.patch ---
diff -ruN pointless-orig/Makefile pointless/Makefile
--- pointless-orig/Makefile     2013-08-13 23:20:31.000000000 -0700
+++ pointless/Makefile  2013-08-13 23:20:06.000000000 -0700
@@ -4,14 +4,14 @@
 #  -static doesn't work on hex
 
 # Compilers
-CC = cc
-CXX= g++
+CC = /usr/bin/llvm-gcc-4.2
+CXX= /usr/bin/llvm-g++-4.2
 
 # Compiler flags
 #OPT = -g -m32
 #OPT = -g -Wreturn-type
 #OPT = -O -m32 -Wall
-OPT = -O -static
+OPT = -O3 
 #OPT = -O0 -g3
 
 CXXFLAGS=  ${OPT}
@@ -20,27 +20,26 @@
 # Link flags
 LFLAGS= ${OPT}
 STATIC=
-#STATIC=  -static-libgcc  -static-libstdc++
+ 
 
 #  CCP4 stuff: point to the latest version compiled from source
-CCP4SRC=${CCP4}/../CurrentSource
-CLIB=${CCP4SRC}/lib
-CLIBS=${CLIB}/libccp4
+CCP4SRC=
+CLIB=@prefix@/lib
+CLIBS=@prefix@/lib
 
 
 # CCTBX locations
-CCTBX=${CLIB}/cctbx
+CCTBX=@prefix@/lib/cctbx
 #CCTBX=/usr/local/CCTBX
 CCTBX_sources=${CCTBX}/cctbx_sources
 
 #  Version 1 = 2006
 #CCTBX_VERSION=2006
 #  Version 2 = 2007
-CCTBX_VERSION=2007
+CCTBX_VERSION=2013
 
 XCPPFLAGS=  -DCCTBX_VERSION=${CCTBX_VERSION}
-#XCPPFLAGS= -ftemplate-depth-120  -Wno-long-double
-#XCPPFLAGS= -ftemplate-depth-120 -fcoalesce-templates -Wno-long-double
+ 
 
 # Clipper location
 CLPLIB=${CLIB}
@@ -57,12 +56,15 @@
 # cctbx
 ITBX=\
 -I${CCTBX_sources}/boost \
--I${CCP4}/include \
--I${CCTBX_sources}/cctbx_project
+-I@prefix@/include -I@prefix@/include/ccp4  \
+-I${CCTBX_sources}/cctbx_project \
+-I${CCTBX}/cctbx_sources \
+-I${CCTBX}/cctbx_sources/include \
+-I${CCTBX}/cctbx_build/include
 
 ##-I${CCTBX_sources}/cctbx_project/scitbx/include
 
-INCLUDE=-I. ${ITBX} ${ICLPR} ${ICCP4}
+INCLUDE=-I. -I@prefix@/include ${ITBX} ${ICLPR} ${ICCP4} 
 
 #<<<<< Libraries
 # CCP4
@@ -72,10 +74,10 @@
 LCLPR=-L${CLPLIB} -lclipper-ccp4 -lclipper-contrib -lclipper-minimol 
-lclipper-mmdb -lclipper-core 
 
 # cctbx
-LTBX= ${CLIB}/libcctbx.a
+LTBX= ${CCTBX}/cctbx_build/lib/libcctbx.a
 
-SLIB = -Wl,--whole-archive -lpthread -Wl,--no-whole-archive
-#SLIB=
+#SLIB = -Wl,--whole-archive -lpthread -Wl,--no-whole-archive
+SLIB=
 
 LDLIBS=${LTBX} ${LCLPR} ${LCCP4} ${SLIB} ${STATIC}
 

--- NEW FILE: pointless.info ---
Package: pointless
Version: 1.8.7
Revision: 1
Source: ftp://ftp.mrc-lmb.cam.ac.uk/pub/pre/%n-%v.tar.gz
Source-MD5: 512b203d31800b7546455ad41f4ffbf8
NoSourceDirectory: yes
Depends: << 
libccp4-shlibs, 
fftw-shlibs,
clipper-shlibs,
mmdb-shlibs,
cctbx
<<
BuildDepends: <<
fftw, 
libccp4-dev,  
clipper-dev,
mmdb-dev,
cctbx
<<
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
PatchFile: %n.patch
PatchFile-MD5: 94e2db982e380d456c3b5ed7ad98bc8b
PatchScript: <<
 cp Makefile.make Makefile
 sed 's|@prefix@|%p|g' < %{PatchFile} | patch -p1
<<
CompileScript: << 
#!/bin/bash -efv
source %p/bin/init.sh
make
<<
InstallScript: <<
#!/bin/bash -efv
source %p/bin/init.sh
mkdir -p %i/bin
cp pointless othercell  %i/bin/.
<<
Description: CCP4 point and space group and index tests
DescDetail: <<
Pointless has several possible functions:
1. Determination of Laue group and space group (LAUEGROUP mode).
2. Testing of alternative indexing schemes
3. Checking the centre of the diffraction pattern
4. Reindexing
<<
License: Restrictive             
Homepage: http://www.ccp4.ac.uk/html/pointless.html
Maintainer: W. G. Scott <wgsc...@users.sourceforge.net>


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to