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

Added Files:
        cernlib2003.info cernlib2003.patch cernlib2005.info 
        cernlib2005.patch 
Removed Files:
        cernlib.info cernlib.patch 
Log Message:
Sync with unstable

--- NEW FILE: cernlib2003.patch ---
diff -Naur cernlib2003.orig/Imakefile cernlib2003.new/Imakefile
--- cernlib2003.orig/Imakefile  1996-12-16 07:08:41.000000000 -0800
+++ cernlib2003.new/Imakefile   2003-12-29 11:21:25.000000000 -0800
@@ -7,8 +7,12 @@
 SUBDIRS= $(LIBDIRS) patchy cfortran
 
 #ifdef CERNLIB_UNIX
+#ifdef CERNLIB_MACOSX
+SUBDIRS:= $(SUBDIRS) scripts
+#else
 SUBDIRS:= $(SUBDIRS) scripts mgr
 #endif
+#endif
 
 InstallLibSubdirs($(LIBDIRS))
 
diff -Naur cernlib2003.orig/config/Imake.cf cernlib2003.new/config/Imake.cf
--- cernlib2003.orig/config/Imake.cf    1998-09-25 02:23:38.000000000 -0700
+++ cernlib2003.new/config/Imake.cf     2003-12-29 11:21:25.000000000 -0800
[...2245 lines suppressed...]
 
+#if 0
     strcpy(tmp,tmppath);
     strcat(tmp,TMP_TEMPLATE);
     mktemp(tmp);
+#endif
 
     /* builtin ftp client */
+    /* Fixed to use tmpfile() rather than the insecure mktemp()
+       -- Kevin McCarty, for Debian, 24 April 2003 */
 
     if (bftp.bf_bufsize > 0) {
-      if (!(f = fopen(tmp,"w"))) {
-        errlog(LOG_ERR,"c_stage_tape() : can't open %s",tmp);
+      if (!(f = tmpfile())) {
+        errlog(LOG_ERR,"c_stage_tape() : tmpfile() failed : %s",
+              strerror(errno));
         return SGD_RET_FOPEN;
       }
       ret = ftp_clio(f,cl_dat,st_dat,volid,fseqid,lbltyp,volser);

--- cernlib.info DELETED ---

--- NEW FILE: cernlib2005.info ---
Package: cernlib2005
Version: 2005
Revision: 11
Description: Paw and other basic executables
Depends: x11
BuildDepends: <<
  g77,
  x11-dev, 
  openmotif3
<<
Conflicts: cernlib2002, cernlib2003, cernlib (<= 2003-22)
Replaces: cernlib2002, cernlib2003, cernlib (<= 2003-22)
Provides: cernlib
CustomMirror: <<
Primary: http://wwwinfo.cern.ch/asd/cernlib/download/
<<
Source: mirror:custom:%v_source/tar/src_Imakefile.tar.gz
SourceRename: cernlib-%v_Imakefile.tar.gz
Source2: mirror:custom:%v_source/tar/src_config.tar.gz
Source2Rename: cernlib-%v_config.tar.gz
Source3: mirror:custom:%v_source/tar/src_include.tar.gz
Source3Rename: cernlib-%v_include.tar.gz
Source4: mirror:custom:%v_source/tar/src_cfortran.tar.gz
Source4Rename: cernlib-%v_cfortran.tar.gz
Source5: mirror:custom:%v_source/tar/src_scripts.tar.gz
Source5Rename: cernlib-%v_scripts.tar.gz
Source6: mirror:custom:%v_source/tar/src_packlib.tar.gz
Source6Rename: cernlib-%v_packlib.tar.gz
Source7: mirror:custom:%v_source/tar/src_pawlib.tar.gz
Source7Rename: cernlib-%v_pawlib.tar.gz
Source8: mirror:custom:%v_source/tar/src_phtools.tar.gz
Source8Rename: cernlib-%v_phtools.tar.gz
Source9: mirror:custom:%v_source/tar/src_mclibs.tar.gz
Source9Rename: cernlib-%v_mclibs.tar.gz
Source10: mirror:custom:%v_source/tar/src_mathlib.tar.gz
Source10Rename: cernlib-%v_mathlib.tar.gz
Source11: mirror:custom:%v_source/tar/src_graflib.tar.gz
Source11Rename: cernlib-%v_graflib.tar.gz
Source12: mirror:custom:%v_source/tar/src_geant321.tar.gz
Source12Rename: cernlib-%v_geant321.tar.gz
Source13: mirror:custom:%v_source/tar/src_patchy.tar.gz
Source13Rename: cernlib-%v_patchy.tar.gz
Source-MD5: 03bfd1239e57a23ab087bf29fe48c8a8
Source2-MD5: b72b89cb3a7f7c592d28b992c95b4eff
Source3-MD5: 9ebd72a2b6e5349b25fc93e7b20c172a
Source4-MD5: 9e686519ae3a52344222b21c9444ddd6
Source5-MD5: b30b121167ddf6508c22fc25a4272276
Source6-MD5: 9e6423a947496ad2848ad40a59b61b21
Source7-MD5: 4addfdd0524a8f0ca3469499f92a54ba
Source8-MD5: f215b9adba3cfb3be4bd74d624f00d32
Source9-MD5: dc3ab13c8a89f398c20219abaabd1eea
Source10-MD5: 0ec66e6d4920af79999b4c73fd3b065a
Source11-MD5: 37cd64d0219e947eaace165cb5cf040b
Source12-MD5: f8726e20da75b99320deed00fb557a0d
Source13-MD5: fd20e80b3f58fc88168bcd6ce701f999
SourceDirectory: %v/src
PatchScript: sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1
CompileScript: <<
  #!/bin/sh -ev
  set -e
  mkdir lib
  mkdir bin
  export CERN=%b/cernlib
  export CERN_LEVEL=%v
  export CERN_ROOT=${CERN}/${CERN_LEVEL}
  export PATH=${CERN_ROOT}/bin:${PATH}
  export CVSCOSRC=%b
  export HAVE_MOTIF=yes
  ${CVSCOSRC}/config/imake_boot
  make bin/kuipc
  make scripts/Makefile
  (cd scripts; make install.bin)
  make
  (cd packlib; make install.bin)
  (cd graflib; make install.bin)
  (cd pawlib; make install.bin)
  make install.include CERN_INCLUDEDIR=${CERN_ROOT}/include
<<
InstallScript: <<
  install -d %i/bin
  install -m 755 cernlib/%v/bin/* %i/bin
<<
SplitOff: <<
  Description: Paw++: Motif enhanced paw 
  Package: %N-paw++
  Provides: cernlib-paw++
  Conflicts: cernlib2002-paw++, cernlib2003-paw++, cernlib-paw++ (<= 2003-22)
  Replaces: cernlib2002-paw++, cernlib2003-paw++, cernlib-paw++ (<= 2003-22)
  Depends: <<
    x11, 
    openmotif3-shlibs,
    %N (=%v-%r)
  <<
  Files: <<
    bin/paw++
    bin/kxterm
  <<  
<<
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)
  Replaces: cernlib2002-dev, cernlib2003-dev, cernlib-dev (<= 2003-22)
  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
  Conflicts: cernlib2002-geant321, cernlib2003-geant321, cernlib-geant321 (<= 
2003-22)
  Replaces: cernlib2002-geant321, cernlib2003-geant321, cernlib-geant321 (<= 
2003-22)
  Depends: %N-dev (=%v-%r)
  InstallScript: <<
    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
  <<
  Files: bin/gxint
<<
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)
  Replaces: cernlib2002-mclibs, cernlib2003-mclibs, cernlib-mclibs (<= 2003-22)
  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
  <<
<<
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
<fink prefix>/bin/init.(c)sh. Therefore, you need to open a new
terminal after installing CERNLIB for the first time.
<<
DescPort: <<
Main port of CERNLIB to Mac OS X 10.1 was done by Keisuke Fujii using
rpm for package management. Additional patches were needed to make it
work with fink under 10.2. This port is not officially supported by
CERN. 
<<
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 <[EMAIL PROTECTED]>

--- cernlib.patch DELETED ---

--- NEW FILE: cernlib2003.info ---
Package: cernlib2003
Version: 2003
Revision: 23
Description: Paw and other basic executables
Depends: x11
BuildDepends: <<
  g77 (>= 3.4-20030827), 
  gcc3.3,
  x11-dev, 
  openmotif3
<<
Conflicts: cernlib2002, cernlib2005, cernlib (<= 2003-22)
Replaces: cernlib2002, cernlib2005, cernlib (<= 2003-22)
Provides: cernlib
CustomMirror: <<
Primary: http://wwwinfo.cern.ch/asd/cernlib/download/
<<
Source: mirror:custom:%v_source/tar/src_Imakefile.tar.gz
SourceRename: cernlib-%v_Imakefile.tar.gz
Source2: mirror:custom:%v_source/tar/src_config.tar.gz
Source2Rename: cernlib-%v_config.tar.gz
Source3: mirror:custom:%v_source/tar/src_include.tar.gz
Source3Rename: cernlib-%v_include.tar.gz
Source4: mirror:custom:%v_source/tar/src_cfortran.tar.gz
Source4Rename: cernlib-%v_cfortran.tar.gz
Source5: mirror:custom:%v_source/tar/src_scripts.tar.gz
Source5Rename: cernlib-%v_scripts.tar.gz
Source6: mirror:custom:%v_source/tar/src_packlib.tar.gz
Source6Rename: cernlib-%vb_packlib.tar.gz
Source7: mirror:custom:%v_source/tar/src_pawlib.tar.gz
Source7Rename: cernlib-%vb_pawlib.tar.gz
Source8: mirror:custom:%v_source/tar/src_phtools.tar.gz
Source8Rename: cernlib-%v_phtools.tar.gz
Source9: mirror:custom:%v_source/tar/src_mclibs.tar.gz
Source9Rename: cernlib-%vb_mclibs.tar.gz
Source10: mirror:custom:%v_source/tar/src_mathlib.tar.gz
Source10Rename: cernlib-%vb_mathlib.tar.gz
Source11: mirror:custom:%v_source/tar/src_graflib.tar.gz
Source11Rename: cernlib-%v_graflib.tar.gz
Source12: mirror:custom:%v_source/tar/src_geant321.tar.gz
Source12Rename: cernlib-%v_geant321.tar.gz
Source13: mirror:custom:%v_source/tar/src_patchy.tar.gz
Source13Rename: cernlib-%v_patchy.tar.gz
Source-MD5: d70e68ba8b12e98a3d3e64a1740e4ca1
Source2-MD5: c2ce47d2d3b6dc3fcda459775fbdb5d0
Source3-MD5: 814a4cb8596029d7fb84bb9e6f951648
Source4-MD5: 3776a06ab59e71ecfce5b167fee6fa84
Source5-MD5: 5de0a1466da374a6112470173a233418
Source6-MD5: a65ba64eb1bd1ee50cde8ef1160998be
Source7-MD5: 3e14447a027dcce72d6012e22c066d99
Source8-MD5: 93be3daecc67eda1cc57ce1fa45392cf
Source9-MD5: 3858cbd3b21f4ba3626c14d273f73886
Source10-MD5: 6523df2f1536b3b59b7ea0a5fc0369f9
Source11-MD5: 5b9b23b90161c7ef9abb988bbc10734b
Source12-MD5: e5b9acafa125f224809d935054d111ac
Source13-MD5: 93c73419f254ae234de83b800219c703
SourceDirectory: %v/src
PatchScript: sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1
CompileScript: <<
  #!/bin/sh -ev
  set -e
  mkdir lib
  mkdir bin
  export CERN=%b/cernlib
  export CERN_LEVEL=%v
  export CERN_ROOT=${CERN}/${CERN_LEVEL}
  export PATH=${CERN_ROOT}/bin:${PATH}
  export CVSCOSRC=%b
  export HAVE_MOTIF=yes
  ${CVSCOSRC}/config/imake_boot
  make bin/kuipc
  make scripts/Makefile
  (cd scripts; make install.bin)
  make
  (cd packlib; make install.bin)
  (cd graflib; make install.bin)
  (cd pawlib; make install.bin)
  make install.include CERN_INCLUDEDIR=${CERN_ROOT}/include
<<
InstallScript: <<
  install -d %i/bin
  install -m 755 cernlib/%v/bin/* %i/bin
<<
SplitOff: <<
  Description: Paw++: Motif enhanced paw 
  Package: %N-paw++
  Provides: cernlib-paw++
  Conflicts: cernlib2002-paw++, cernlib2005-paw++, cernlib-paw++ (<= 2003-22)
  Replaces: cernlib2002-paw++, cernlib2005-paw++, cernlib-paw++ (<= 2003-22)
  Depends: <<
    x11, 
    openmotif3-shlibs,
    %N (=%v-%r)
  <<
  Files: <<
    bin/paw++
    bin/kxterm
  <<  
<<
SplitOff2: <<
  Description: Basic libraries and include files
  Package: %N-dev
  Provides: cernlib-dev
  Depends: %N (=%v-%r)
  Conflicts: cernlib2002-dev, cernlib2005-dev, cernlib-dev (<= 2003-22)
  Replaces: cernlib2002-dev, cernlib2005-dev, cernlib-dev (<= 2003-22)
  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, cernlib2005-geant321, cernlib-geant321 (<= 
2003-22)
  Replaces: cernlib2002-geant321, cernlib2005-geant321, cernlib-geant321 (<= 
2003-22)
  InstallScript: <<
    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
  <<
  Files: bin/gxint
<<
SplitOff4: <<
  Description: Monte-carlo libraries and files
  Package: %N-mclibs
  Provides: cernlib-mclibs
  Depends: %N-dev (=%v-%r)
  Conflicts: cernlib2002-mclibs, cernlib2005-mclibs, cernlib-mclibs (<= 2003-22)
  Replaces: cernlib2002-mclibs, cernlib2005-mclibs, cernlib-mclibs (<= 2003-22)
  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
  <<
<<
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
<fink prefix>/bin/init.(c)sh. Therefore, you need to open a new
terminal after installing CERNLIB for the first time.
<<
DescPort: <<
Main port of CERNLIB to Mac OS X 10.1 was done by Keisuke Fujii using
rpm for package management. Additional patches were needed to make it
work with fink under 10.2. This port is not officially supported by
CERN. 
<<
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 <[EMAIL PROTECTED]>

--- NEW FILE: cernlib2005.patch ---
diff -Naur src/Imakefile src.new/Imakefile
--- src/Imakefile       2005-10-31 14:28:10.000000000 -0600
+++ src.new/Imakefile   2005-10-31 15:02:12.000000000 -0600
@@ -7,8 +7,12 @@
 SUBDIRS= $(LIBDIRS) patchy cfortran
 
 #ifdef CERNLIB_UNIX
+#ifdef CERNLIB_MACOSX
+SUBDIRS:= $(SUBDIRS) scripts
+#else
 SUBDIRS:= $(SUBDIRS) scripts mgr
 #endif
+#endif
 
 InstallLibSubdirs($(LIBDIRS))
 
diff -Naur src/config/Imake.cf src.new/config/Imake.cf
--- src/config/Imake.cf 2005-10-31 14:25:55.000000000 -0600
+++ src.new/config/Imake.cf     2005-10-31 15:02:12.000000000 -0600
[...2368 lines suppressed...]
--- src/scripts/gxint   2005-10-31 14:26:19.000000000 -0600
+++ src.new/scripts/gxint       2005-10-31 15:02:13.000000000 -0600
@@ -78,7 +78,7 @@
      fi
   fi
  
-drv="/X11" ; ver="pro" ; OUT="${HOME}/GEANT$$"
+drv="/X11" ; ver="" ; OUT="${HOME}/GEANT$$"
 gxint=""
  
 while [ $# -gt 0 ]
@@ -156,7 +156,7 @@
 $line
 EoD
  
-$LDN -o $OUT $gxint $pgm $userpath $userlibs `cernlib -v $ver $CLIB`; cc=$?
+$LDN -o $OUT $gxint $pgm $userpath $userlibs `cernlib $CLIB`; cc=$?
  
 [ $cc -ne 0 ] && exit $cc
  



-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to