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

Modified Files:
        atlas.info molmol.info netcdf.info phylip.info 
Log Message:
use more robust version of "head" and "tail" commands


Index: phylip.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci/phylip.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- phylip.info 20 Sep 2004 12:27:54 -0000      1.1
+++ phylip.info 7 Jan 2005 03:11:35 -0000       1.2
@@ -6,7 +6,7 @@
 PatchScript: sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1 
 Depends: x11
 CompileScript: <<
-head -7 src/phylip.c > Copyright
+head -n 7 src/phylip.c > Copyright
 cd src && make install
 <<
 InstallScript: <<

Index: atlas.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci/atlas.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- atlas.info  24 Feb 2004 09:00:46 -0000      1.2
+++ atlas.info  7 Jan 2005 03:11:35 -0000       1.3
@@ -36,17 +36,17 @@
 SourceDirectory: ATLAS
 CompileScript: <<
  (cd ../LAPACK; sed 's|-funroll-all-loops -fno-f2c -O3|-funroll-all-loops 
-O3|g' < INSTALL/make.inc.LINUX > make.inc; cd SRC; make all)
- (make CC=cc config; export ARCH=`ls -1t Make* | head -1 | cut -f2 -d"."`; cp 
../LAPACK/lapack_LINUX.a lib/$ARCH/liblapack.a; mv Make.$ARCH Make.$ARCH.orig; 
sed 's|gcc|cc|g' < Make.$ARCH.orig > Make.$ARCH; make install arch=$ARCH)
+ (make CC=cc config; export ARCH=`ls -1t Make* | head -n 1 | cut -f2 -d"."`; 
cp ../LAPACK/lapack_LINUX.a lib/$ARCH/liblapack.a; mv Make.$ARCH 
Make.$ARCH.orig; sed 's|gcc|cc|g' < Make.$ARCH.orig > Make.$ARCH; make install 
arch=$ARCH)
 <<
 InstallScript: <<
  mkdir -p %i/lib
  mkdir -p %i/include
  mkdir -p %i/share/doc/%n
- (export ARCH=`ls -1t Make* | head -1 | cut -f2 -d"."`; ranlib 
lib/$ARCH/lib*a; cp lib/$ARCH/lib*a %i/lib)
+ (export ARCH=`ls -1t Make* | head -n 1 | cut -f2 -d"."`; ranlib 
lib/$ARCH/lib*a; cp lib/$ARCH/lib*a %i/lib)
  cp include/cblas.h %i/include
  cp doc/* %i/share/doc/%n
  cp README %i/share/doc/%n
- head -31 config.c > %i/share/doc/%n/LICENSE
+ head -n 31 config.c > %i/share/doc/%n/LICENSE
 <<
 PostInstScript: <<
  ranlib %p/lib/libatlas.a 

Index: molmol.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci/molmol.info,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- molmol.info 17 Mar 2004 21:44:15 -0000      1.4
+++ molmol.info 7 Jan 2005 03:11:35 -0000       1.5
@@ -27,13 +27,13 @@
 cp src/iodev/IODev.c src/iodev/IODev.c-dist
 grep -v IOMotifOGLDSetDev src/iodev/IODev.c-dist > src/iodev/IODev.c
 cp molmol molmol.orig
-head -13 molmol.orig > junk.top
-tail -153 molmol.orig > junk.bottom
+head -n 13 molmol.orig > junk.top
+tail -n 153 molmol.orig > junk.bottom
 sed s/ksh/zsh/g junk.top > junk2.top
 sed 's|/opt/group/MOLMOL|%p/share/molmol|g' < junk2.top > junk3.top
 echo "localdev=Motif/OpenGL" >> junk3.top
 echo "glxdev=Motif/OpenGL" >> junk3.top
-head -149 junk.bottom > junk2.bottom
+head -n 149 junk.bottom > junk2.bottom
 cat junk3.top junk2.bottom > molmol
 echo "%p/share/molmol/src/main/molmol \$xopt"  >> molmol
 echo 'else'  >> molmol

Index: netcdf.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci/netcdf.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- netcdf.info 19 Aug 2004 12:30:37 -0000      1.3
+++ netcdf.info 7 Jan 2005 03:11:35 -0000       1.4
@@ -11,7 +11,8 @@
 SourceDirectory: %N-%v/src
 Source-MD5: 52972e8765394010d2507a9a1dc02a56
 NoSetLDFLAGS: true
-SetCXX: c++
+SetCXX: g++-3.3
+SetCC: gcc-3.3
 SetCPPFLAGS: -DNDEBUG -Df2cFortran
 CompileScript: <<
   CXXFLAGS="-O2 -fno-common" CFLAGS='-O2 -fno-common' FC='%p/bin/fort77' 
FFLAGS='-O2 -Nx400 -w' ./configure %c
@@ -22,9 +23,9 @@
  make install prefix=%i MANDIR=%i/share/man
  (mkdir libtmp; cd libtmp; ar -x ../libsrc/libnetcdf.a)
  (mkdir libtmp2; cd libtmp2; ar -x ../cxx/libnetcdf_c++.a)
- (cd libtmp; objfiles=`ls -1 *.o`; cc -dynamiclib -flat_namespace -undefined 
suppress -o libnetcdf.%v.dylib $objfiles -install_name %p/lib/libnetcdf.3.dylib 
-current_version %v -compatibility_version 3.5; cp libnetcdf.%v.dylib %i/lib) 
+ (cd libtmp; objfiles=`ls -1 *.o`; gcc-3.3 -dynamiclib -flat_namespace 
-undefined suppress -o libnetcdf.%v.dylib $objfiles -install_name 
%p/lib/libnetcdf.3.dylib -current_version %v -compatibility_version 3.5; cp 
libnetcdf.%v.dylib %i/lib) 
  (cd %i/lib; ln -s %p/lib/libnetcdf.%v.dylib libnetcdf.3.dylib; ln -s 
%p/lib/libnetcdf.3.dylib libnetcdf.dylib;  ln -s %p/lib/libnetcdf.%v.dylib 
libnetcdf.3.5.0.dylib)
- (cd libtmp2; objfiles=`ls -1 *.o`; c++ -dynamiclib -flat_namespace -undefined 
suppress -o libnetcdf_c++.%v.dylib $objfiles -install_name 
%p/lib/libnetcdf_c++.3.dylib -current_version %v -compatibility_version 3.5; cp 
libnetcdf_c++.%v.dylib %i/lib) 
+ (cd libtmp2; objfiles=`ls -1 *.o`; g++-3.3 -dynamiclib -flat_namespace 
-undefined suppress -o libnetcdf_c++.%v.dylib $objfiles -install_name 
%p/lib/libnetcdf_c++.3.dylib -current_version %v -compatibility_version 3.5; cp 
libnetcdf_c++.%v.dylib %i/lib) 
  (cd %i/lib; ln -s %p/lib/libnetcdf_c++.%v.dylib libnetcdf_c++.3.dylib; ln -s 
%p/lib/libnetcdf_c++.3.dylib libnetcdf_c++.dylib)
  rm -rf %i/share/man/man3f
  rm -rf %i/share/man/cat1



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to