Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci In directory vz-cvs-3.sog:/tmp/cvs-serv18128/sci
Added Files: cernlib2006.info patchy4.info Log Message: CERNLIB for Lion. --- NEW FILE: patchy4.info --- Info3: << Package: patchy4-%type_pkg[fortran] Type: fortran (gfortran) Version: 4.15 Revision: 6 Description: CERNLIB patchy utilities Architecture: i386, x86_64 BuildDepends: gcc46, sed Depends: gcc46-shlibs Provides: patchy Source: http://cern.ch/~mommsen/fink/patchy_%v.tar.gz Source-MD5: 4f7cb685300dfb89d374bae1f07ab3d1 SourceDirectory: patchy/%v/src CompileScript: << #!/bin/sh -ev export PATH=..:.:$PATH %p/bin/sed -i -re 's:fort77:gfortran:g' rceta.sh ./rceta.sh rm -f rceta.f rceta.o rceta %p/bin/sed -i -re 's:f77:gfortran:g' fcasplit.f %p/bin/sed -i -re "{ s:f77:gfortran:g; s:-posix:-std=legacy:g; }" p4boot.sh %p/bin/sed -i -re "{ \ s:DOUBLE PRECISION ACTION:CHARACTER(8) ACTION:g; \ s:void abend_:#include <stdlib.h>\\nvoid abend_:g; \ s:#include <stdio.h>:#include <stdio.h>\\n#include <stdlib.h>:g; \ s:char \*malloc\(\);::g; \ s:int nalc:size_t nalc:g; \ s:\(\(unsigned\) iadr\):((unsigned long) iadr):g; \ }" p4comp.fca chmod a+x p4boot.sh ./p4boot.sh 0 rm -f y*.o y.lis << InstallScript: << install -d %i/bin install -m 755 y* %i/bin install -m 755 fcasplit %i/bin/fcasplit4 << PostInstScript: << update-alternatives --install %p/bin/fcasplit fcasplit %p/bin/fcasplit4 20 << PreRmScript: << if [ $1 != "upgrade" ]; then update-alternatives --remove fcasplit %p/bin/fcasplit4 fi << License: GPL DescDetail: << Utilities for extracting sources from patchy cards and cradles. << Homepage: http://cernlib.web.cern.ch/cernlib Maintainer: Remi Mommsen <remigius.momm...@cern.ch> << --- NEW FILE: cernlib2006.info --- Info3: << Package: cernlib2006 Version: 2006b Revision: 12 Description: Paw and other basic executables Depends: x11 BuildDepends: << fink (>= 0.24.12), x11-dev, openmotif3, xmkmf, gcc46, patchy4-gfortran << Conflicts: << cernlib2002, cernlib2003, cernlib (<= 2003-22), cernlib2005, cernlib2005-g77, cernlib2005-gfortran << Replaces: << cernlib2002, cernlib2003, cernlib (<= 2003-22), cernlib2005, cernlib2005-g77, cernlib2005-gfortran << Provides: cernlib CustomMirror: << Primary: http://wwwasd.web.cern.ch/wwwasd/cernlib/download/ << Source: mirror:custom:%v_source/tar/2006_src.tar.gz SourceRename: cernlib-%v.tar.gz Source-MD5: 750c4804a2366ccd8e80c45a055f8ac5 Source2: http://cern.ch/~mommsen/fink/%f.patch.gz Source2-MD5: ee8529a5f0bb8cd3077bc21f94ec2695 SourceDirectory: 2006/src PatchScript: << #!/bin/sh -ev case "%m" in "i386") ARCH="I386" ;; "x86_64") ARCH="QMLXIA64" ;; esac gunzip -c ../../%f.patch.gz | \ /usr/bin/sed -e "{ s|@PREFIX@|%p|g ; s|@ARCH@|${ARCH}|g }" | patch -p1 << CompileScript: << #!/bin/sh -ev ln -s cernlib/%v/lib . ln -s cernlib/%v/bin . export CERN=%b/cernlib export CERN_LEVEL=%v export CERN_ROOT=${CERN}/${CERN_LEVEL} export PATH=${CERN_ROOT}/bin:%p/lib/xmkmf/bin:${PATH} export CVSCOSRC=%b export HAVE_MOTIF=yes ${CVSCOSRC}/config/imake_boot make tree pushd packlib/kuip/programs/kuipc make make install.bin popd make (cd scripts; make install.bin) || exit 1 (cd packlib; make install.bin) || exit 1 (cd pawlib; make install.bin) || exit 1 (cd graflib; make install.bin) || exit 1 make patchy/Makefile (cd patchy; make install.bin) || exit 1 make install.include CERN_INCLUDEDIR=${CERN_ROOT}/include << InstallScript: << install -d %i/bin install -m 755 cernlib/%v/bin/cdbackup %i/bin install -m 755 cernlib/%v/bin/cdmake %i/bin install -m 755 cernlib/%v/bin/cdmove %i/bin install -m 755 cernlib/%v/bin/cdserv %i/bin install -m 755 cernlib/%v/bin/cernlib %i/bin install -m 755 cernlib/%v/bin/dzedit %i/bin install -m 755 cernlib/%v/bin/dzeX11 %i/bin install -m 755 cernlib/%v/bin/fatback %i/bin install -m 755 cernlib/%v/bin/fatmen %i/bin install -m 755 cernlib/%v/bin/fatnew %i/bin install -m 755 cernlib/%v/bin/fatsend %i/bin install -m 755 cernlib/%v/bin/fatsrv %i/bin install -m 755 cernlib/%v/bin/hepdb %i/bin install -m 755 cernlib/%v/bin/kuesvr %i/bin install -m 755 cernlib/%v/bin/kuipc %i/bin install -m 755 cernlib/%v/bin/paw %i/bin install -m 755 cernlib/%v/bin/pawserv %i/bin install -m 755 cernlib/%v/bin/pawX11 %i/bin install -m 755 cernlib/%v/bin/zftp %i/bin install -m 755 cernlib/%v/bin/zserv %i/bin << InfoTest: << TestSuiteSize: large TestScript: << #!/bin/sh -ev pwd export CERN=%b/cernlib export CERN_LEVEL=%v export CERN_ROOT=${CERN}/${CERN_LEVEL} export PATH=${CERN_ROOT}/bin:%p/lib/xmkmf/bin:${PATH} export CVSCOSRC=%b cd packlib ( make test 2>&1 | /usr/bin/tee %b/test.log ) || exit 2 cd ../mathlib ( make test 2>&1 | /usr/bin/tee -a %b/test.log ) || exit 2 cd ../phtools ( make test 2>&1 | /usr/bin/tee -a %b/test.log ) || exit 2 cd ../mclibs ( make test 2>&1 | /usr/bin/tee -a %b/test.log ) || exit 2 cd ../geant321 ( make test 2>&1 | /usr/bin/tee -a %b/test.log ) || exit 2 cd ../graflib/higz/examples ( make higzex 2>&1 | /usr/bin/tee -a %b/test.log ) || exit 2 #The following tests need user interaction (and a runnng X11) #./higzex cd ../../../pawlib/paw/demo ; rm -f higz_windows.dat #paw all.kumac if [ `grep -c "make: \*\*\*" %b/test.log` -ne 0 ] ; then exit 2 ; fi if [ `grep -c "\*\*\* failed" %b/test.log` -ne 0 ] ; then exit 2 ; fi if [ `grep "Test result = " %b/test.log | grep -cv 0` -ne 0 ] ; then exit 2 ; fi << << SplitOff: << Description: Paw++: Motif enhanced paw Package: %N-paw++ Provides: cernlib-paw++ Depends: << x11, openmotif3-shlibs, %N (=%v-%r) << Conflicts: << cernlib2002-paw++, cernlib2003-paw++, cernlib-paw++ (<= 2003-22), cernlib2005-paw++, cernlib2005-g77-paw++, cernlib2005-gfortran-paw++ << Replaces: << cernlib2002-paw++, cernlib2003-paw++, cernlib-paw++ (<= 2003-22), cernlib2005-paw++, cernlib2005-g77-paw++, cernlib2005-gfortran-paw++ << InstallScript: << install -d %i/bin install -m 755 cernlib/%v/bin/paw++ %i/bin install -m 755 cernlib/%v/bin/kxterm %i/bin << << SplitOff2: << Description: Basic libraries and include files Package: %N-dev Provides: cernlib-dev Depends: %N (=%v-%r) Conflicts: << cernlib2002-dev, cernlib2003-dev, cernlib-dev (<= 2003-22), cernlib2005-dev, cernlib2005-g77-dev, cernlib2005-gfortran-dev << Replaces: << cernlib2002-dev, cernlib2003-dev, cernlib-dev (<= 2003-22), cernlib2005-dev, cernlib2005-g77-dev, cernlib2005-gfortran-dev << InstallScript: << install -d %i/lib install -m 644 cernlib/%v/lib/libgraflib.a %i/lib install -m 644 cernlib/%v/lib/libgrafX11.a %i/lib install -m 644 cernlib/%v/lib/libpawlib.a %i/lib install -m 644 cernlib/%v/lib/libkernlib.a %i/lib install -m 644 cernlib/%v/lib/libpacklib.a %i/lib install -m 644 cernlib/%v/lib/libmathlib.a %i/lib install -m 644 cernlib/%v/lib/libphtools.a %i/lib ln -s libkernlib.a %i/lib/libkernlib-shift.a ln -s libpacklib.a %i/lib/libpacklib-shift.a ranlib -a %i/lib/libgraflib.a ranlib -a %i/lib/libgrafX11.a ranlib -a %i/lib/libpawlib.a ranlib -a %i/lib/libkernlib.a ranlib -a %i/lib/libpacklib.a ranlib -a %i/lib/libmathlib.a ranlib -a %i/lib/libphtools.a install -d %i/include cp -r cernlib/%v/include/cfortran %i/include cp -r cernlib/%v/include/comis %i/include cp -r cernlib/%v/include/cspack %i/include cp -r cernlib/%v/include/dzdoc %i/include cp -r cernlib/%v/include/epio %i/include cp -r cernlib/%v/include/fatmen %i/include cp -r cernlib/%v/include/ffread %i/include cp -r cernlib/%v/include/gen %i/include cp -r cernlib/%v/include/hbook %i/include cp -r cernlib/%v/include/hepdb %i/include cp -r cernlib/%v/include/higz %i/include cp -r cernlib/%v/include/hplot %i/include cp -r cernlib/%v/include/kapack %i/include cp -r cernlib/%v/include/kernbit %i/include cp -r cernlib/%v/include/kerngen %i/include cp -r cernlib/%v/include/kernnum %i/include cp -r cernlib/%v/include/kuip %i/include cp -r cernlib/%v/include/sigma %i/include cp -r cernlib/%v/include/zbook %i/include cp -r cernlib/%v/include/zebra %i/include << << SplitOff3: << Description: GEANT 3.2.1 Package: %N-geant321 Provides: cernlib-geant321 Depends: %N-dev (=%v-%r) Conflicts: << cernlib2002-geant321, cernlib2003-geant321, cernlib-geant321 (<= 2003-22), cernlib2005-geant321, cernlib2005-g77-geant321, cernlib2005-gfortran-geant321 << Replaces: << cernlib2002-geant321, cernlib2003-geant321, cernlib-geant321 (<= 2003-22), cernlib2005-geant321, cernlib2005-g77-geant321, cernlib2005-gfortran-geant321 << InstallScript: << install -d %i/bin install -m 755 cernlib/%v/bin/gxint %i/bin install -d %i/lib install -m 644 cernlib/%v/lib/libgeant321.a %i/lib install -m 644 cernlib/%v/lib/gxint321.f %i/lib install -m 644 cernlib/%v/lib/flukaaf.dat %i/lib install -m 644 cernlib/%v/lib/xsneut95.dat %i/lib ln -s gxint321.f %i/lib/gxint.f ln -s libgeant321.a %i/lib/libgeant.a ranlib -a %i/lib/libgeant321.a install -d %i/include cp -r cernlib/%v/include/geant321 %i/include << << SplitOff4: << Description: Monte-carlo libraries and files Package: %N-mclibs Provides: cernlib-mclibs Depends: %N-dev (=%v-%r) Conflicts: << cernlib2002-mclibs, cernlib2003-mclibs, cernlib-mclibs (<= 2003-22), cernlib2005-mclibs, cernlib2005-g77-mclibs, cernlib2005-gfortran-mclibs << Replaces: << cernlib2002-mclibs, cernlib2003-mclibs, cernlib-mclibs (<= 2003-22), cernlib2005-mclibs, cernlib2005-g77-mclibs, cernlib2005-gfortran-mclibs << InstallScript: << install -d %i/lib install -m 644 cernlib/%v/lib/libariadne.a %i/lib install -m 644 cernlib/%v/lib/libcojets.a %i/lib install -m 644 cernlib/%v/lib/libeurodec.a %i/lib install -m 644 cernlib/%v/lib/libfritiof.a %i/lib install -m 644 cernlib/%v/lib/libherwig59.a %i/lib install -m 644 cernlib/%v/lib/libisajet758.a %i/lib install -m 644 cernlib/%v/lib/libjetset74.a %i/lib install -m 644 cernlib/%v/lib/libpdflib804.a %i/lib install -m 644 cernlib/%v/lib/libphotos202.a %i/lib install -m 644 cernlib/%v/lib/liblepto651.a %i/lib install -m 644 cernlib/%v/lib/libpythia6205.a %i/lib install -m 644 cernlib/%v/lib/cojets.dat %i/lib install -m 644 cernlib/%v/lib/eurodec.dat %i/lib install -m 644 cernlib/%v/lib/isajet.dat %i/lib ln -s libherwig59.a %i/lib/libherwig.a ln -s liblepto651.a %i/lib/liblepto.a ln -s libisajet758.a %i/lib/libisajet.a ln -s libjetset74.a %i/lib/libjetset.a ln -s libpdflib804.a %i/lib/libpdflib.a ln -s libphotos202.a %i/lib/libphotos.a ln -s libpythia6205.a %i/lib/libpythia.a ranlib -a %i/lib/libariadne.a ranlib -a %i/lib/libcojets.a ranlib -a %i/lib/libeurodec.a ranlib -a %i/lib/libfritiof.a ranlib -a %i/lib/libherwig59.a ranlib -a %i/lib/libisajet758.a ranlib -a %i/lib/libjetset74.a ranlib -a %i/lib/libpdflib804.a ranlib -a %i/lib/libphotos202.a ranlib -a %i/lib/liblepto651.a ranlib -a %i/lib/libpythia6205.a install -d %i/include cp -r cernlib/%v/include/cojets %i/include cp -r cernlib/%v/include/eurodec %i/include cp -r cernlib/%v/include/herwig59 %i/include cp -r cernlib/%v/include/isajet758 %i/include cp -r cernlib/%v/include/jetset74 %i/include cp -r cernlib/%v/include/pdf804 %i/include cp -r cernlib/%v/include/pythia6205 %i/include << PostInstScript: << echo echo "**********************************************" echo "* WARNING *" echo "* The test case for cojets fails. *" echo "* Please take care when you use it. *" echo "* It might produce wrong results! *" echo "**********************************************" echo << << SplitOff5: << Description: CERNLIB patchy utilities Package: patchy5-gfortran Provides: patchy, patchy5 Depends: %N-dev (=%v-%r) InstallScript: << #!/bin/sh -ev install -d %i/bin install -m 755 cernlib/%v/bin/fcasplit %i/bin/fcasplit5 install -m 755 cernlib/%v/bin/nycheck %i/bin install -m 755 cernlib/%v/bin/nydiff %i/bin install -m 755 cernlib/%v/bin/nyindex %i/bin install -m 755 cernlib/%v/bin/nylist %i/bin install -m 755 cernlib/%v/bin/nymerge %i/bin install -m 755 cernlib/%v/bin/nypatchy %i/bin install -m 755 cernlib/%v/bin/nyshell %i/bin install -m 755 cernlib/%v/bin/nysynopt %i/bin install -m 755 cernlib/%v/bin/nytidy %i/bin install -m 755 cernlib/%v/bin/yexpand %i/bin << PostInstScript: << update-alternatives --install %p/bin/fcasplit fcasplit %p/bin/fcasplit5 40 << PreRmScript: << if [ $1 != "upgrade" ]; then update-alternatives --remove fcasplit %p/bin/fcasplit5 fi << << RuntimeVars: << CERN: %p CERN_LEVEL: '.' CERN_ROOT: %p << License: GPL DescDetail: << The CERN Program Library is a large collection of general purpose libraries and modules maintained and offered in both source and object code form on the CERN central computers. The two most popular applications based on CERNLIB are PAW and GEANT 3.21. Most of these programs were developed at CERN and are therefore oriented towards the needs of a physics research laboratory that is general mathematics, data analysis, detectors simulation, data-handling etc... applicable to a wide range of problems. << DescUsage: << In order to function properly, CERNLIB needs a few environment variables set. This is done automatically when you source the %p/bin/init.(c)sh. Therefore, you need to open a new terminal after installing CERNLIB for the first time. << DescPort: << The patches needed to make CERNLIB work on Mac OS X are largely based on work done by Keisuke Fujii (http://www-jlc.kek.jp/~fujiik/macosx/10.4.X/HEPonX/memo/CERNLIBonX.html). Some of the patches needed for gfortran and 64bit were obtained from Harald Vogt (http://www-zeuthen.desy.de/linear_collider/cernlib/new/cernlib_2005.html). Additional patches were taken from the Fedora project (http://fedoraproject.org/wiki/EPEL). Thanks to Chris Walter for pointing out this additional resource. The final touches for 64-bit compliance on Mac OS X were done by myself. This port is not officially supported by CERN. Use it at your own risk. << DescPackaging: << The CERNLIB is by default installed in a completely separate directory where the environment CERN_ROOT points to. In order to get it into the fink file hierarchy, some hacks were needed. The most obvious is the environment CERN_LEVEL which is set to the local directory ('.'). Using the compile script hack is necessary to pass various environment variables to the build system. The split-offs are inspired by the default packaging into tar files, however putting the include files into the same package as the corresponding libraries. << Homepage: http://cernlib.web.cern.ch/cernlib Maintainer: Remi Mommsen <remigius.momm...@cern.ch> << ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs