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

Added Files:
        java-oct-1.2.5.info java-oct.info 
Log Message:
Octave Forge Java interface.


--- NEW FILE: java-oct.info ---
Info2: <<
Package: java-oct%type_pkg[oct]
Version: 1.2.8
Type: oct (3.2.4), forge (java)
Revision: 1
Maintainer: Alexander Hansen <alexkhan...@users.sourceforge.net>
# unfortunately, Homepage won't do types
Homepage: http://octave.sourceforge.net/java/index.html 
Description: Java interface for Octave
DescDetail: <<
Provides Java interface with OO-like Java objects manipulation

The package includes the following functions:
Java Interface:
        java_exit
        java_invoke
        java_get
        java_init
        java_set
        java_new
        javaaddpath
        javarmpath
        javaclasspath
        javamem
        javaArray
        java2mat
        java_convert_matrix
        java_unsigned_conversion
        java_debug
        javaObject
        javaMethod
        javamethods
        javafields
Dialog Boxes:
        msgbox.m
        errordlg.m
        helpdlg.m
        inputdlg.m
        listdlg.m
        msgbox.m
        questdlg.m
        warndlg.m
<<
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, 
  system-java-dev
<<
Depends: <<
  octave%type_pkg[oct] | octave%type_pkg[oct]-atlas,
  system-java
<<
Conflicts: octave-forge

Source-MD5: e94bcb73e21f2e8f3e5cf43c143ba029

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.
<<

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

TarFilesRename: java:java-1.2.8
PatchScript: <<
        perl -pi -e "s/echo \-n/echo/g; s/ECHO_N='-n'/ECHO_N=/" src/configure 
src/configure.base
        perl -pi -e 
's|JAVA_INCS=".*"|JAVA_INCS="-I/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers"|'
 src/configure
<<

DescPort: <<
        Get rid of nonportable "echo -n" which screws up the configuration.
        Patch JAVA_INCS actually to be the current *correct* include path
        for Apple's Java
<<
######################################

# 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:  <<
#!/bin/sh -ev
OCTAVE=%p/bin/octave-%type_raw[oct] 
%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
<<
--- NEW FILE: java-oct-1.2.5.info ---
Info2: <<
Package: java-oct%type_pkg[oct]
Version: 1.2.5
Type: oct (3.0.5), forge (java)
Revision: 1
Maintainer: Alexander Hansen <alexkhan...@users.sourceforge.net>
# unfortunately, Homepage won't do types
Homepage: http://octave.sourceforge.net/java/index.html 
Description: Java interface for Octave
DescDetail: <<
Provides Java interface with OO-like Java objects manipulation

The package includes the following functions:
        java_exit
        java_invoke
        java_get
        java_init
        java_set
        java_new
        javaaddpath
        javaclasspath
        javaArray
        java2mat
        java_convert_matrix
        java_unsigned_conversion
        java_debug
<<
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, 
  system-java-dev
<<
Depends: <<
  octave%type_pkg[oct] | octave%type_pkg[oct]-atlas,
  system-java
<<
Conflicts: octave-forge

Source-MD5: b5fef3c65481fb8f2e153ee4201f0e84

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.
<<

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

PatchScript: <<
        perl -pi -e "s/echo \-n/echo/g; s/ECHO_N='-n'/ECHO_N=/" src/configure 
src/configure.base
        perl -pi -e 
's|JAVA_INCS=".*"|JAVA_INCS="-I/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers"|'
 src/configure
<<

DescPort: <<
        Get rid of nonportable "echo -n" which screws up the configuration.
        Patch JAVA_INCS actually to be the current *correct* include path
        for Apple's Java
<<
######################################

# 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:  <<
#!/bin/sh -ev
OCTAVE=%p/bin/octave-%type_raw[oct] 
%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
<<

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to