Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/10.4-EOL/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv22135

Added Files:
        octave-3.0.5.info outliers-oct.info plot-oct.info 
        signal-oct.info bugfix-3.0.6-oct.info 
Log Message:
more octave packages, sync w/ 10.!4, validated on powerpc-darwin8
this time using octave324-atlas variant


--- NEW FILE: octave-3.0.5.info ---
Info2: <<
Package: octave%type_pkg[-atlas]
Type: -atlas (boolean), oct(3.0.5)
Version: 3.0.5
Revision: 22
Maintainer: Alexander Hansen <[email protected]>

# disable atlas on 10.7 distro file until atlas is available

Source: mirror:gnu:%{Ni}/%{Ni}-%v.tar.bz2
Source-MD5: bfba44eeda8fa6e29c2bbcd2604c34eb

BuildDepends: <<
        glpk-dev, hdf5.7-oldapi, readline5, libncurses5, fftw3 (>= 3.1.1-7), 
libcurl4, 
        pcre, gcc46-compiler, suitesparse-metis, metis, qhull6-dev, fink (>= 
0.28), fink-package-precedence, sed,
        (%type_raw[-atlas] = atlas) atlas, flag-sort
<<
Depends: %{Ni}%type_pkg[oct]%type_pkg[-atlas] (=%v-%r)
BuildConflicts: coot-dev, broken-gcc, lammpi-dev, fort77, 4ti2-dev
Suggests: %{Ni}%type_pkg[oct]-docs
GCC: 4.0

Conflicts: <<
        (%type_raw[-atlas] = atlas) %{Ni}, (%type_raw[-atlas] != -atlas) 
%{Ni}-atlas, 
        %{Ni}3.0.2 ( << 3.0.2-5), %{Ni}3.0.2-atlas ( << 3.0.2-5) 
        <<
Replaces: %{Ni}, %{Ni}-atlas, %{Ni}3.0.2 ( << 3.0.2-5), %{Ni}3.0.2-atlas ( << 
3.0.2-5) 
UseMaxBuildJobs: false

PatchFile: %{ni}.patch
PatchFile-MD5: ce167f65e283dccf624e888c1a0a8725
PatchScript: <<
        #!/bin/sh -ev
        cp doc/interpreter/%{Ni}.1 doc/interpreter/%{Ni}-%v.1
        cp doc/interpreter/%{Ni}-bug.1 doc/interpreter/%{Ni}-bug-%v.1
        cp doc/interpreter/%{Ni}-config.1 doc/interpreter/%{Ni}-config-%v.1
        cp doc/interpreter/mkoctfile.1 doc/interpreter/mkoctfile-%v.1
        sed -e 's/@OCTVERSION@/%v/g' %{PatchFile} | patch -p1 
        sed -i -e 's|@FINKPREFIX@|%p|g'   %{Ni}-forge* %{Ni}rc 
doc/interpreter/*.1 mkoctfile.in
        # fix lib name for qhull6
        perl -pi -e 's|(qhull[/.])|lib\1|g ; s|lqhull|lqhull6|' configure
        # wrong include dir for qhull6
        for f in `grep -l -r "qhull_a\.h" src`
                do sed -i.orig -e '/include/s|qhull/|lib&|' $f
        done
<<

SetCC: flag-sort -r gcc
SetCXX: flag-sort -r g++
SetCPPFLAGS: -I%p/opt/hdf5v1.6/include
SetLDFLAGS: -L%p/opt/hdf5v1.6/lib
# SetLDFLAGS: -Wl,-dead_strip_dylibs -L%p/opt/hdf5v1.6/lib
SetLIBS: -lmetis
ConfigureParams: <<
        F77=%p/bin/gfortran-fsf-4.6 --host=%m-apple-darwin 
--build=%m-apple-darwin \
        --infodir='${prefix}/share/info' --mandir='${prefix}/share/man' 
--libexecdir='${prefix}/lib' \
        --enable-shared --enable-dl --disable-static --without-mpi --with-hdf5 
--with-fftw
<<
CompileScript: <<
 #!/bin/sh -ev
 export CFLAGS='-O3 -MD'
 export CXXFLAGS='-O3 -MD'
 export FFLAGS='-O3'
 if [ "%type_pkg[-atlas]" == "" ]
        then 
a='--with-lapack=-Wl,-framework,Accelerate,-dylib_file,/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib:/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
 
--with-blas=-Wl,-framework,Accelerate,-dylib_file,/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib:/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib'
        else a='--with-lapack=%p/lib/liblapack.dylib 
--with-blas=%p/lib/libf77blas.dylib'
 fi
 FLIBDIR="%p/lib/gcc4.6/lib"
 ./configure FLIBS="${FLIBDIR}/libgfortran.dylib" %c $a
 make
 fink-package-precedence --depfile-ext='\.d$' 
--prohibit-bdep=%{Ni},%{Ni}-atlas,%{Ni}%type_raw[oct]-dev,%{Ni}%type_raw[oct]-atlas-dev,%{Ni}305-dev,%{Ni}305-atlas-dev,saclib-gcc46,saclib
 src
<<

InfoTest: <<
        TestScript: make check || exit 2        
<<

InstallScript: <<
 #!/bin/sh -ev
 export MAKEFLAGS=-j1
 make install DESTDIR=%d
 # install Fink-specific octaverc which points at our oct-versioned
 # package directory
 cp %b/%{Ni}rc %i/share/%{Ni}/%v/m/startup
 mkdir -p %i/var/%{Ni}/%v/
 # install examples
 mkdir -p %i/share/%{Ni}/%v/doc/examples
 cp -R examples %i/share/%{Ni}/%v/doc/examples
 pushd %i/bin 
 # clear out hardcoded Fink sed
 for file in mkoctfile-%v %{Ni}-bug-%v %{Ni}-config-%v 
 do
        perl -pi -e 's|%p/bin/sed|/usr/bin/sed|g' $file
 done
 popd 
 # remove TeX stuff which may have been generated:
 rm %i/share/%{Ni}/ls-R %i/lib/%{Ni}/ls-R
 # remove autogenerated freedesktop.org desktop file
 rm -f %i/share/applications/www.%{Ni}.org-%{Ni}.desktop
 mkdir -p %i/share/%{Ni}/%v/scripts
 # install the octave-forge helper scripts
 cp %{Ni}-forge* %i/share/%{Ni}/%v/scripts
 chmod a+x %i/share/%{Ni}/%v/scripts/*
 # oct-conf.h and octave-bug need to use Fink's compiler wrappers, too
 sed -i.bak -e 's|flag-sort -r gcc|@WHICH_CC@|g' \
                        -e 's|flag-sort -r g++|@WHICH_CXX@|g' \
                        %i/include/%{Ni}-%v/%{Ni}/oct-conf.h %i/bin/%{Ni}-bug-%v
 # for the -atlas variant, add libcblas.dylib to BLAS_LIBS:
 perl -pi -e 's|(%p/lib/liblapack.dylib %p/lib/libf77blas.dylib)|$1 
%p/lib/libcblas.dylib|' \
 %i/bin/mkoctfile-%v %i/include/%{ni}-%v/%{ni}/oct-conf.h %i/bin/%{ni}-bug-%v
<<
InfoDocs: %{Ni}.info
RuntimeVars: <<
 GNUTERM: aqua
<<
DocFiles: BUGS ChangeLog README ROADMAP SENDING-PATCHES COPYING

SplitOff: <<
        Package: octave%type_pkg[oct]%type_pkg[-atlas]-shlibs
        Conflicts: << 
                (%type_raw[-atlas] = atlas) %{Ni}%type_pkg[oct]-shlibs, 
                (%type_raw[-atlas] != atlas) %{Ni}%type_pkg[oct]-atlas-shlibs, 
                (%type_raw[-atlas] = atlas) %{Ni} (<< 3.0.5-5), 
                (%type_raw[-atlas] != atlas) %{Ni}-atlas (<< 3.0.5-5), 
                %{Ni}3.0.2 ( << 3.0.2-5), %{Ni}3.0.2-atlas ( << 3.0.2-5)
        <<
        Replaces: <<
                (%type_raw[-atlas] = atlas) %{Ni}%type_pkg[oct]-shlibs, 
                (%type_raw[-atlas] != atlas) %{Ni}%type_pkg[oct]-atlas-shlibs, 
                %{Ni} (<< 3.0.5-5), %{Ni}-atlas (<< 3.0.5-5), 
                %{Ni}3.0.2 ( << 3.0.2-5), %{Ni}3.0.2-atlas ( << 3.0.2-5)
        <<      
        Depends:  fftw3-shlibs, gcc46-shlibs, hdf5.7-oldapi-shlibs, 
readline5-shlibs,   (%type_raw[-atlas] = -atlas) atlas-shlibs (>= 3.8.1-1)
        Files: <<
                lib/%{Ni}-%v
        <<
        Shlibs: <<
                %p/lib/%{Ni}-%v/libcruft.dylib 0.0.0 %n (>=3.0.5-5)
                %p/lib/%{Ni}-%v/lib%{Ni}.dylib 0.0.0 %n (>=3.0.5-5)
                %p/lib/%{Ni}-%v/liboctinterp.dylib 0.0.0 %n (>=3.0.5-5)
        <<
        DescDetail: <<
        This package contains shared libraries which are used by the Octave
        interpreter itself, as well as for packages that build against Octave, 
        such as the various octave-forge packages.
        <<
        DescUsage: <<
        To use mkoctfile to build dynamically loadable modules, you will need 
        to install the hdf5-oldapi and fftw3 packages, as well as 
        %{Ni}%type_pkg[oct]%type_pkg[-atlas]-dev.  
        It cannot Depend on them since they are BuildDependsOnly.

        Any package that either links to the libraries in 
%{Ni}%type_pkg[-atlas]-shlibs or 
        installs an extension should Depend on 
%{Ni}%type_pkg[oct]%type_pkg[-atlas]-shlibs and BuildDepend
        on %{Ni}%type_pkg[oct]%type_pkg[-atlas]-dev.  In addition, it will need 
to BuildDepend on
        hdf5-oldapi and fftw3.
        <<
        DocFiles: BUGS ChangeLog README ROADMAP SENDING-PATCHES COPYING
<<
SplitOff2: <<
        Package: octave%type_pkg[oct]%type_pkg[-atlas]-dev
        Depends: octave%type_pkg[oct]%type_pkg[-atlas]-shlibs (=%v-%r), 
gcc46-compiler, (%type_raw[-atlas] = atlas) atlas (>= 3.8.1-1)
        Conflicts: << 
                (%type_raw[-atlas] = atlas) %{Ni}%type_pkg[oct]-dev, 
                (%type_raw[-atlas] != atlas) %{Ni}%type_pkg[oct]-atlas-dev, 
                (%type_raw[-atlas] = atlas) %{Ni} (<< 3.0.5-5), 
                (%type_raw[-atlas] != atlas) %{Ni}-atlas (<< 3.0.5-5), 
                %{Ni}3.0.2 ( << 3.0.2-5), %{Ni}3.0.2-atlas ( << 3.0.2-5),
                %{Ni}324-dev, %{Ni}324-atlas-dev, %{Ni}342-dev, 
%{Ni}342-atlas-dev
        <<
        Replaces: <<
                (%type_raw[-atlas] = atlas) %{Ni}%type_pkg[oct]-dev, 
                (%type_raw[-atlas] != atlas) %{Ni}%type_pkg[oct]-atlas-dev, 
                %{Ni} (<< 3.0.5-5), %{Ni}-atlas (<< 3.0.5-5), 
                %{Ni}3.0.2 ( << 3.0.2-5), %{Ni}3.0.2-atlas ( << 3.0.2-5),
                %{Ni}324-dev, %{Ni}324-dev, %{Ni}324-atlas-dev, %{Ni}342-dev, 
%{Ni}342-atlas-dev
        <<
        BuildDependsOnly: true
        Files: <<
                include/%{Ni}-%v
                bin/mkoctfile*
                bin/octave-config*
                share/man/man1/mkoctfile.1
                share/man/man1/octave-config.1
        <<
        PostInstScript: <<
                finkpath=`fink dumpinfo -ePATH %N`
                fink_cc=`export $finkpath; which gcc`
                fink_cxx=`export $finkpath; which g++`
                sed -i.bak      -e "s|@WHICH_CC@|$fink_cc|g" \
                                        -e "s|@WHICH_CXX@|$fink_cxx|g" \
                                        %p/bin/mkoctfile-%type_raw[oct] \
                                        %p/include/%{Ni}-%v/%{Ni}/oct-conf.h
        <<
        DescDetail: <<
        This package contains files needed to build against Octave, including
        headers and the mkoctfile executable.
        
        Note: mkoctfile encodes the compiler wrappers that Fink uses.  
        Use "fink reinstall %n" if you update your OS in-place
        and it will be updated for your new OS version.
        <<
        DescUsage: <<
        To use mkoctfile to build dynamically loadable modules, you will need   
        to install the hdf5-oldapi and fftw3 packages, as well as 
        %{Ni}%type_pkg[oct]%type_pkg[-atlas]-dev.  
        It cannot Depend on them since they are BuildDependsOnly.

        Any package that either links to the libraries in 
%{Ni}%type_pkg[-atlas]-shlibs or 
        installs an extension should Depend on 
%{Ni}%type_pkg[oct]%type_pkg[-atlas]-shlibs and BuildDepend
        on %{Ni}%type_pkg[oct]%type_pkg[-atlas]-dev.  In addition, it will need 
to BuildDepend on
        hdf5-oldapi and fftw3.
        <<
        DocFiles: BUGS ChangeLog README ROADMAP SENDING-PATCHES COPYING
<<

Splitoff3: <<
        Package: octave%type_pkg[oct]%type_pkg[-atlas]
        Depends: <<
        %{Ni}%type_pkg[oct]%type_pkg[-atlas]-shlibs (=%v-%r),
        glpk-shlibs, gnuplot (>=4.2.0) | gnuplot-nox | gnuplot-nogtk,  
        fftw3-shlibs (>= 3.1.1-7), qhull6-shlibs,
        ncurses, aquaterm, libcurl4-shlibs, 
        pcre-shlibs,
        (%type_raw[-atlas] = -atlas) atlas-shlibs (>= 3.8.1-1)
        <<
        Conflicts: << 
                (%type_raw[-atlas] = atlas) %{Ni}%type_pkg[oct], 
                (%type_raw[-atlas] != atlas) %{Ni}%type_pkg[oct]-atlas, 
                (%type_raw[-atlas] = atlas) %{Ni} (<< 3.0.5-5), 
                (%type_raw[-atlas] != atlas) %{Ni}-atlas (<< 3.0.5-5), 
                %{Ni}3.0.2 ( << 3.0.2-5), %{Ni}3.0.2-atlas ( << 3.0.2-5)
        <<
        Replaces: <<
                (%type_raw[-atlas] = atlas) %{Ni}%type_pkg[oct]-dev, 
                (%type_raw[-atlas] != atlas) %{Ni}%type_pkg[oct]-atlas-dev, 
                %{Ni} (<< 3.0.5-5), %{Ni}-atlas (<< 3.0.5-5), 
                %{Ni}3.0.2 ( << 3.0.2-5), %{Ni}3.0.2-atlas ( << 3.0.2-5)
        <<
        Files: <<
                share/%{Ni}/%v
                lib/%{Ni}/%v
                bin/%{Ni}-%v
                bin/%{Ni}-bug-%v
                var/%{Ni}/%v
        <<
        PostInstScript: <<
                finkpath=`fink dumpinfo -ePATH %N`
                fink_cc=`export $finkpath; which gcc`
                fink_cxx=`export $finkpath; which g++`
                sed -i.bak      -e "s|@WHICH_CC@|$fink_cc|g" \
                                        -e "s|@WHICH_CXX@|$fink_cxx|g" \
                                         %p/bin/%{Ni}-bug-%v
        <<
        DescDetail: <<
        The %{Ni}%type_pkg[oct]%type_pkg[-atlas] package contains versioned 
executables, as well as all of the 
        core functionality of the Octave interpreter.  Note that the GNU info 
file, 
        which provides the core documentation, is installed as part of the %{Ni}
    package.
    
        Octave provides a convenient command line interface for solving linear 
and 
        nonlinear problems numerically, and for performing other numerical 
        experiments using a language that is mostly compatible with Matlab.
        It may also be used as a batch-oriented language.

        Octave has extensive tools for solving common numerical linear algebra
        problems, finding the roots of nonlinear equations, integrating ordinary
        functions, manipulating polynomials, and integrating ordinary 
differential
        and differential-algebraic equations. It is easily extensible and 
        customizable via user-defined functions written in Octave's own 
language, 
        or using dynamically loaded modules written in C++, C, Fortran, 
        or other languages.
        <<
        DescUsage: <<
        By default the plotting output (via gnuplot) is directed to AquaTerm. 
        This can be overidden in your startup scripts, e.g.
 
                export GNUTERM=x11
 
        in bash
 
        or
 
                setenv GNUTERM x11
 
        in tcsh.
 
        Note:  Fink's Octave implementation modifies one of the startup files,
        %p/share/%{Ni}/%v/m/startup/octaverc,
        to initialize octave sessions to know about Fink's octave-versioned 
        install location for octave-forge packages.  If you use the '--norc' 
        or '-f' flags in your Octave script, these packages won't be visible.  
        You'll need torun the following command in your script:
 
                pkg global_list %p/var/octave/%v/octave_packages
<<
        DocFiles: BUGS ChangeLog README ROADMAP SENDING-PATCHES COPYING
<<

Description: MATLAB-like language for computations
DescDetail: <<
The %{Ni}%type_pkg[-atlas] package contains unversioned executables and an 
unversioned directory tree.  

Octave provides a convenient command line interface for solving linear and 
nonlinear problems numerically, and for performing other numerical 
experiments using a language that is mostly compatible with Matlab.
It may also be used as a batch-oriented language.

Octave has extensive tools for solving common numerical linear algebra
problems, finding the roots of nonlinear equations, integrating ordinary
functions, manipulating polynomials, and integrating ordinary differential
and differential-algebraic equations. It is easily extensible and 
customizable via user-defined functions written in Octave's own language, 
or using dynamically loaded modules written in C++, C, Fortran, 
or other languages.
        
Note: mkoctfile encodes the compiler wrappers that Fink uses.  
Use "fink reinstall %{Ni}%v%type_pkg[atlas]" if you update your OS in-place
and it will be updated for your new OS version.

<<
DescUsage: << 
To use mkoctfile to build dynamically loadable modules, you will need 
to install the hdf5-oldapi and fftw3 packages, as well as 
%{Ni}%type_pkg[oct]%type_pkg[-atlas]-dev.  
It cannot Depend on them since they are BuildDependsOnly.

Any package that either links to the libraries in 
%{Ni}%type_pkg[-atlas]-shlibs or installs an extension should Depend on
%{Ni}%type_pkg[oct]%type_pkg[-atlas]-shlibs and BuildDepend on 
%{Ni}%type_pkg[oct]%type_pkg[-atlas]-dev.  In addition, it will need to 
BuildDepend on hdf5-oldapi and fftw3.
 
By default the plotting output (via gnuplot) is directed to AquaTerm. 
This can be overidden in your startup scripts, e.g.
 
        export GNUTERM=x11
 
in bash
 
or
 
        setenv GNUTERM x11
 
in tcsh.
 
Note:  Fink's Octave implementation modifies one of the startup files,
%p/share/%{Ni}/%v/m/startup/octaverc,
to initialize octave sessions to know about Fink's octave-versioned 
install location for octave-forge packages.  If you use the '--norc' or '-f'
flags in your Octave script, these packages won't be visible.  You'll need to
run the following command in your script:
 
        pkg global_list %p/var/octave/%v/octave_packages
 
<<
DescPort: <<
 Thanks to Per Persson for most (if not all) of the work on the macos X port.
<<
DescPackaging:  <<
Set the GNUTERM environment variable to AquaTerm because autodetection
of DISPLAY seems to cause options to be fed to our gnuplot that it doesn't 
understand.
AquaTerm seems to be a sensible default, particularly since gnuplot-nox is also 
a 
legal dependency.

Not sane (and now not even compilable) to use private code
from glpk. Import the functions needed so can still use it
even when glpk stops exporting its internals. See:
        
http://octave.1599824.n4.nabble.com/GLPK-interface-was-Re-Multithreaded-Atlas-td1654632.html
 
Remove a desktop file that gets generated only for users with GNOME/KDE 
installed.

As of 3.0.5.>5, patch mkoctfile.in so that it uses Fink's compiler wrappers
when building octave packages by hand.  This is critical for 10.6/i386 users.

As of 3.0.5-5, we have split the package up into runtime, development, and 
library packages,
to make upgrades easier for us and for users.
        
As of 3.0.5-5:  generate common octave-forge bash and octave scripts, 
based on the ones by Johnathan Stickel in the original octave-forge-foo 
packages, in _this_ package, so that any required changes can be made in 
a common location rather than spread out over many packages.
Unfortunately, Octave's 'pkg' tool doesn't seem to know how to deal with 
variables, and the individual octave-forge  packages have to make copies
of the octave scripts during their build process and edit them to use the
package's name.
<<
Homepage: http://www.octave.org/
License: GPL
<<

--- NEW FILE: plot-oct.info ---
Info2: <<
Package: plot-oct%type_pkg[oct]
Version: 1.0.8
Type: oct (3.0.5 3.2.4), forge (plot)
Revision: 1
Maintainer: Alexander Hansen <[email protected]>
# unfortunately, Homepage won't do types
Homepage: http://octave.sourceforge.net/plot/index.html 
Description: Additional plotting tools for Octave
DescDetail: <<
This package provides the following additional functions:
colstyle
dxfwrite
ginput
gtext
hist2d
tics                            
tricontour                      
waitforbuttonpress      
zoom                            
<<
License: GPL

# All octave-forge packages have to have the following BuildDepends:
#  octave%type_pkg[oct]-dev | octave%type_pkg[oct]-atlas-dev,
# fftw3, 
# ( %type_pkg[oct] = 305 ) hdf5.7-oldapi,
# ( %type_pkg[oct] != 305 ) hdf5.7
#
# Packages which serve only Octave-3.0.5 or only Octave > 3.0.5 need
# not use the conditional, of course.

BuildDepends: <<
  octave%type_pkg[oct]-dev | octave%type_pkg[oct]-atlas-dev,
  fftw3,   
  ( %type_pkg[oct] = 305 ) hdf5.7-oldapi,
  ( %type_pkg[oct] != 305 ) hdf5.7
 <<
Depends: << 
  octave%type_pkg[oct] | octave%type_pkg[oct]-atlas
  <<
Conflicts: octave-forge, octave-forge-%type_raw[forge] (<< 1.0.6-999)
Replaces: octave-forge-%type_raw[forge] (<< 1.0.6-999)

Source-MD5: d1b518eb8e4d1031fa63ad36a0e47d30

#### Insert required changes here ####

######################################

# Do not change anything from this point down, unless absolutely necessary,
# since the foo-oct%type_pkg[oct] packages are designed to be built/installed
# in the same way.

Source: mirror:sourceforge:octave/%type_raw[forge]-%v.tar.gz

NoSetCPPFLAGS: true
NoSetLDFLAGS: true
SetLIBRARY_PATH: /usr/X11R6/lib:%p/lib
SetMAKEFLAGS: -j1
CompileScript: %p/share/octave/%type_raw[oct]/scripts/octave-forge-compile.sh 
%type_raw[forge]-%v

InstallScript: << 
        #!/bin/sh -ev
        %p/share/octave/%type_raw[oct]/scripts/octave-forge-install.sh 
%type_raw[forge]-%v %i %b
        mkdir -p %i/share/octave/%type_raw[oct]/%type_raw[forge]-%v
        # copy template scripts
        cp %p/share/octave/%type_raw[oct]/scripts/octave-forge-prerm 
%p/share/octave/%type_raw[oct]/scripts/octave-forge-postinst 
%i/share/octave/%type_raw[oct]/%type_raw[forge]-%v
        cd %i/share/octave/%type_raw[oct]/%type_raw[forge]-%v
        sed -i -e 's/@PKGNAME@/%type_raw[forge]-%v/' octave-forge-postinst
        sed -i -e 's/@PKGNAME@/%type_raw[forge]/' octave-forge-prerm
        chmod a+x octave-forge*
<<
PostInstScript:  <<
        if [ -s %p/var/octave/%type_raw[oct]/octave_packages ] && [ -f 
%p/var/octave/%type_raw[oct]/octave_packages ] 
        then 
                
%p/share/octave/%type_raw[oct]/%type_raw[forge]-%v/octave-forge-postinst
        else
                mv 
%p/share/octave/%type_raw[oct]/packages/%type_raw[forge]-%v/octave_packages 
%p/var/octave/%type_raw[oct]/octave_packages
        fi
<<

PreRmScript: 
%p/share/octave/%type_raw[oct]/%type_raw[forge]-%v/octave-forge-prerm

DescPackaging: <<
Common for all octave-forge packages.

We read in postinst and prerm template scripts installed by octaveN and modify
them to use the name of this package because Octave's package manager can't 
cope with non-literal arguments.

The Type: forge (pkgname) is used to minimize what needs to be changed when
using this .info file as a template.
<<
<<
--- NEW FILE: outliers-oct.info ---
Info2: <<
Package: outliers-oct%type_pkg[oct]
Version: 0.13.9
Type: oct (3.0.5 3.2.4), forge (outliers)
Revision: 3
Maintainer: Alexander Hansen <[email protected]>
# unfortunately, Homepage won't do types
Homepage: http://octave.sourceforge.net/outliers/index.html 
Description: Outlier detection routines for Octave
DescDetail: <<
This packages provides Grubbs, Dixon and Cochran tests for outlier detection
and p-value approximating routines. 
It ncludes the following functions:
        chisqouttest
        cochrancdf
        cochraninv
        cochrantest
        dixoncdf
        dixoninv
        dixontest
        grubbscdf
        grubbsinv
        grubbstest
        outlier
        qtable
        rmoutlier
        scores
<<
License: GPL

# All octave-forge packages have to have the following BuildDepends:
#  octave%type_pkg[oct]-dev | octave%type_pkg[oct]-atlas-dev,
# fftw3, 
# ( %type_pkg[oct] = 305 ) hdf5.7-oldapi,
# ( %type_pkg[oct] != 305 ) hdf5.7
#
# Packages which serve only Octave-3.0.5 or only Octave > 3.0.5 need
# not use the conditional, of course.

BuildDepends: <<
  octave%type_pkg[oct]-dev | octave%type_pkg[oct]-atlas-dev,
  fftw3,   
  ( %type_pkg[oct] = 305 ) hdf5.7-oldapi,
  ( %type_pkg[oct] != 305 ) hdf5.7
 <<
Depends: << 
  octave%type_pkg[oct] | octave%type_pkg[oct]-atlas
  <<
Conflicts: octave-forge, octave-forge-%type_raw[forge] (<< 0.13.9-999)
Replaces: octave-forge-%type_raw[forge] (<< 0.13.9-999)

Source-MD5: d2829f19afccb01489caf2c1feee0d9f

#### Insert required changes here ####

######################################

# You do not change anything from this point down, unless absolutely necessary,
# since all of the foo-oct%type_pkg[oct] packages are designed to be 
built/installed
# in the same way.

Source: mirror:sourceforge:octave/%type_raw[forge]-%v.tar.gz

NoSetCPPFLAGS: true
NoSetLDFLAGS: true
SetLIBRARY_PATH: /usr/X11R6/lib:%p/lib
SetMAKEFLAGS: -j1

CompileScript: %p/share/octave/%type_raw[oct]/scripts/octave-forge-compile.sh 
%type_raw[forge]-%v

InstallScript: << 
        #!/bin/sh -ev
        %p/share/octave/%type_raw[oct]/scripts/octave-forge-install.sh 
%type_raw[forge]-%v %i %b
        mkdir -p %i/share/octave/%type_raw[oct]/%type_raw[forge]-%v
        # copy template scripts
        cp %p/share/octave/%type_raw[oct]/scripts/octave-forge-prerm 
%p/share/octave/%type_raw[oct]/scripts/octave-forge-postinst 
%i/share/octave/%type_raw[oct]/%type_raw[forge]-%v
        cd %i/share/octave/%type_raw[oct]/%type_raw[forge]-%v
        sed -i -e 's/@PKGNAME@/%type_raw[forge]-%v/' octave-forge-postinst
        sed -i -e 's/@PKGNAME@/%type_raw[forge]/' octave-forge-prerm
        chmod a+x octave-forge*
<<
PostInstScript:  <<
        if [ -s %p/var/octave/%type_raw[oct]/octave_packages ] && [ -f 
%p/var/octave/%type_raw[oct]/octave_packages ] 
        then 
                
%p/share/octave/%type_raw[oct]/%type_raw[forge]-%v/octave-forge-postinst
        else
                mv 
%p/share/octave/%type_raw[oct]/packages/%type_raw[forge]-%v/octave_packages 
%p/var/octave/%type_raw[oct]/octave_packages
        fi
<<

PreRmScript: 
%p/share/octave/%type_raw[oct]/%type_raw[forge]-%v/octave-forge-prerm

DescPackaging: <<
Common for all octave-forge packages.

We read in postinst and prerm template scripts installed by octaveN and modify
them to use the name of this package because Octave's package manager can't 
cope with non-literal arguments.

The Type: forge (pkgname) is used to minimize what needs to be changed when
using this .info file as a template.
<<
<<
--- NEW FILE: signal-oct.info ---
Info2: <<
Package: signal-oct%type_pkg[oct]
Version: 1.0.10
Type: oct (3.2.4), forge (signal)
Revision: 1
Maintainer: Alexander Hansen <[email protected]>
# unfortunately, Homepage won't do types
Homepage: http://octave.sourceforge.net/signal/index.html 
Description: Signal processing toolkit for Octave
DescDetail: <<
This package contains signal processing tools, including filtering, windowing
and display functions.
It provides the following additional functions:
Signals:
        diric
        gauspuls
        gmonopuls
        pulstran
        tripuls
        rectpuls
        sawtooth
        square
        chirp
        strips
        specgram
        buffer
        mexihat
        meyeraux
        morlet
        shanwavf
        cmorwavf
Filtering:
        filtfilt
        filtic
        latcfilt
        sgolayfilt
        sosfilt
        medfilt1
Filter analysis:
        freqs
        freqs_plot
        freqspace
        grpdelay
        impz
        zplane
Filter conversion:
        ac2poly
        poly2ac
        ac2rc
        rc2ac
        poly2rc
        rc2poly
        convmtx
        latc2tf
        residuez
        residued
        sos2ss
        sos2tf
        sos2zp
        ss2sos
        tf2latc
        tf2sos
        zp2sos
        polystab
IIR Filter design:
        besself
        butter
        cheby1
        cheby2
        ellip
        ncauer
        maxflat
        buttord
        cheb1ord
        cheb2ord
        ellipord
        besselap
        sftrans
        bilinear
        impinvar
        ellipdemo
FIR filter design:
        fir1
        fir2
        fircls
        fircls1
        firls
        firrcos
        intfilt
        kaiserord
        cremez
        remez
        remezord
        sgolay
        qp_kaiser
Transforms:
        czt
        dctmtx
        dct2
        idct2
        dct
        idct
        dst
        idst
        dftmtx
        hilbert
        rceps
        cceps
        icceps
        cplxreal
        bitrevorder
        dwt
        fht
        ifht
Power spectrum analysis:
        pwelch
        tfe
        tfestimate
        cohere
        csd
        ar_psd
        cpsd
        mscohere
        pburg
        pyulear
        xcorr
        xcorr2
        xcov
        __power
Window functions:
        window
        barthannwin
        blackmanharris
        blackmannuttall
        bohmanwin
        boxcar
        chebwin
        flattopwin
        hann
        kaiser
        nuttallwin
        triang
        gaussian
        gausswin
        tukeywin
        rectwin
        welchwin
        parzenwin
System identification:
        arburg
        aryule
        invfreq
        invfreqs
        invfreqz
        levinson
        lpc
        rlevinson
        stmcb
Sample rate change:
        decimate
        interp
        downsample
        upsample
        resample
        upfirdn
Utility:
        buffer
        fracshift
        wkeep
        wrev
<<
License: GPL

# All octave-forge packages have to have the following BuildDepends:
#  octave%type_pkg[oct]-dev | octave%type_pkg[oct]-atlas-dev,
# fftw3, 
# ( %type_pkg[oct] = 305 ) hdf5.7-oldapi,
# ( %type_pkg[oct] != 305 ) hdf5.7
#
# Packages which serve only Octave-3.0.5 or only Octave > 3.0.5 need
# not use the conditional, of course.

BuildDepends: <<
  octave%type_pkg[oct]-dev | octave%type_pkg[oct]-atlas-dev,
  fftw3,   
  ( %type_pkg[oct] = 305 ) hdf5.7-oldapi,
  ( %type_pkg[oct] != 305 ) hdf5.7
 <<
Depends: << 
  octave%type_pkg[oct] | octave%type_pkg[oct]-atlas,
  optim-oct%type_pkg[oct], specfun-oct%type_pkg[oct]
<<
Conflicts: octave-forge
Replaces: octave-forge-%type_raw[forge] (<< 1.0.8-999)

Source-MD5: 154902997a4e605c2fedf2335c397bc7

#### Insert required changes here ####

######################################

# Do not change anything from this point down, unless absolutely necessary,
# since the foo-oct%type_pkg[oct] packages are designed to be built/installed
# in the same way.

Source: mirror:sourceforge:octave/%type_raw[forge]-%v.tar.gz

NoSetCPPFLAGS: true
NoSetLDFLAGS: true
SetLIBRARY_PATH: /usr/X11R6/lib:%p/lib
SetMAKEFLAGS: -j1

CompileScript: %p/share/octave/%type_raw[oct]/scripts/octave-forge-compile.sh 
%type_raw[forge]-%v

InstallScript: << 
        #!/bin/sh -ev
        %p/share/octave/%type_raw[oct]/scripts/octave-forge-install.sh 
%type_raw[forge]-%v %i %b
        mkdir -p %i/share/octave/%type_raw[oct]/%type_raw[forge]-%v
        # copy template scripts
        cp %p/share/octave/%type_raw[oct]/scripts/octave-forge-prerm 
%p/share/octave/%type_raw[oct]/scripts/octave-forge-postinst 
%i/share/octave/%type_raw[oct]/%type_raw[forge]-%v
        cd %i/share/octave/%type_raw[oct]/%type_raw[forge]-%v
        sed -i -e 's/@PKGNAME@/%type_raw[forge]-%v/' octave-forge-postinst
        sed -i -e 's/@PKGNAME@/%type_raw[forge]/' octave-forge-prerm
        chmod a+x octave-forge*
<<
PostInstScript:  <<
        if [ -s %p/var/octave/%type_raw[oct]/octave_packages ] && [ -f 
%p/var/octave/%type_raw[oct]/octave_packages ] 
        then 
                
%p/share/octave/%type_raw[oct]/%type_raw[forge]-%v/octave-forge-postinst
        else
                mv 
%p/share/octave/%type_raw[oct]/packages/%type_raw[forge]-%v/octave_packages 
%p/var/octave/%type_raw[oct]/octave_packages
        fi
<<

PreRmScript: 
%p/share/octave/%type_raw[oct]/%type_raw[forge]-%v/octave-forge-prerm

DescPackaging: <<
Common for all octave-forge packages.

We read in postinst and prerm template scripts installed by octaveN and modify
them to use the name of this package because Octave's package manager can't 
cope with non-literal arguments.

The Type: forge (pkgname) is used to minimize what needs to be changed when
using this .info file as a template.
<<
<<
--- NEW FILE: bugfix-3.0.6-oct.info ---
Info2: <<
Package: bugfix-3.0.6-oct%type_pkg[oct]
Version: 1.0
Type: oct (3.0.5), forge (bugfix-3.0.6)
Revision: 3
Maintainer: Alexander Hansen <[email protected]>
# unfortunately, Homepage won't do types
Homepage: http://octave.sourceforge.net/general/index.html 
Description: Bug fixes for Octave-3.0.5
DescDetail: <<
This package overrides some functions included with the 3.0.5 release that
contain minor bugs:
intersect
<<
License: GPL

# All octave-forge packages have to have the following BuildDepends:
#  octave%type_pkg[oct]-dev | octave%type_pkg[oct]-atlas-dev,
# fftw3, hdf5.7-oldapi

BuildDepends: <<
  octave%type_pkg[oct]-dev | octave%type_pkg[oct]-atlas-dev,
  fftw3, hdf5.7-oldapi
 <<
Depends: << 
  octave%type_pkg[oct] | octave%type_pkg[oct]-atlas
  <<

Source-MD5: 40ef2195f4f7156c4ed79ca498559eb8

# You do not change anything from this point down, unless absolutely necessary,
# since all of the foo-oct%type_pkg[oct] packages are designed to be 
built/installed
# in the same way.

Source: 
mirror:sourceforge:octave/Octave%%20Forge%%20Packages/R2009-06-07/%type_raw[forge]-%v.tar.gz
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
SetLIBRARY_PATH: /usr/X11R6/lib:%p/lib
SetMAKEFLAGS: -j1
CompileScript: %p/share/octave/%type_raw[oct]/scripts/octave-forge-compile.sh 
%type_raw[forge]-%v

InstallScript: << 
        #!/bin/sh -ev
        %p/share/octave/%type_raw[oct]/scripts/octave-forge-install.sh 
%type_raw[forge]-%v.0 %i %b
        mkdir -p %i/share/octave/%type_raw[oct]/%type_raw[forge]-%v
        # copy template scripts
        cp %p/share/octave/%type_raw[oct]/scripts/octave-forge-prerm 
%p/share/octave/%type_raw[oct]/scripts/octave-forge-postinst 
%i/share/octave/%type_raw[oct]/%type_raw[forge]-%v
        cd %i/share/octave/%type_raw[oct]/%type_raw[forge]-%v
        sed -i -e 's/@PKGNAME@/%type_raw[forge]-%v.0/' octave-forge-postinst
        sed -i -e 's/@PKGNAME@/%type_raw[forge]/' octave-forge-prerm
        chmod a+x octave-forge*
<<
PostInstScript:  <<
        if [ -s %p/var/octave/%type_raw[oct]/octave_packages ] && [ -f 
%p/var/octave/%type_raw[oct]/octave_packages ] 
        then 
                
%p/share/octave/%type_raw[oct]/%type_raw[forge]-%v/octave-forge-postinst
        else
                mv 
%p/share/octave/%type_raw[oct]/packages/%type_raw[forge]-%v/octave_packages 
%p/var/octave/%type_raw[oct]/octave_packages
        fi
<<

PreRmScript: 
%p/share/octave/%type_raw[oct]/%type_raw[forge]-%v/octave-forge-prerm

DescPackaging: <<
Common for all octave-forge packages.

We read in postinst and prerm template scripts installed by octaveN and modify
them to use the name of this package because Octave's package manager can't 
cope with non-literal arguments.

The Type: forge (pkgname) is used to minimize what needs to be changed when
using this .info file as a template.
<<
<<

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to