Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv32046

Added Files:
        physicalconstants-oct.info 
Log Message:
WorksOnLion

--- NEW FILE: physicalconstants-oct.info ---
Info2: <<
Package: physicalconstants-oct%type_pkg[oct]
Type: oct (3.0.5), forge (physicalconstants)
Version: 0.1.7
Revision: 1
Maintainer: Alexander Hansen <alexkhan...@users.sourceforge.net>
# unfortunately, Homepage won't do types
Homepage: http://octave.sourceforge.net/physicalconstants/index.html 
Description: Physical constants for octave
DescDetail: <<
Database of physical constants.
This package provides the additional physical_constant function.
        <<
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
  <<
Conflicts: octave-forge, octave-forge-%type_raw[forge] (<< 0.1.7-999)
Replaces: octave-forge-%type_raw[forge] (<< 0.1.7-999)

Source-MD5: 808a9c50a0e77cdf31e62c968d82d85b

# 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*
        chmod a+x octave-forge*
<<
PostInstScript:  <<
        if [ -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 prm 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.
<<
<<

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to