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

Modified Files:
        bundle-octave.info gsl-oct.info 
Added Files:
        audio-oct.info 
Log Message:
Sounds good to add the audio octave-forge package.
The gsl and audio packages dredge up a reference to flag-sort from somewhere,
so CC and CXX need to be set in a platform-agnostic manner.  

--- NEW FILE: audio-oct.info ---
Info2: <<
Package: audio-oct%type_pkg[oct]
Version: 1.1.4
Type: oct (3.0.5 3.2.4), forge (audio)
Revision: 1
Maintainer: Alexander Hansen <[email protected]>
# unfortunately, Homepage won't do types
Homepage: http://octave.sourceforge.net/audio/index.html 
Description: Audio tools for Octave
DescDetail: <<
Audio recording, processing and playing tools.
<<
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

Source-MD5: 643dac1ecf0f31c870b4bd9ce7bbd98c

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

DescPort: <<
Audio capture is linux-centric, so it isn't built on 
OS X.
<<

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

# 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
export CC=`which cc`
export CXX=`which c++`
%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: <<
This package:
Somehow finds a reference to flag-sort, even though that has been scrubbed 
from all of the text files in our Octave distros, so we have to set CC and CXX 
explicitly.

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.
<<
<<
Index: gsl-oct.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci/gsl-oct.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- gsl-oct.info        8 Sep 2011 00:15:46 -0000       1.3
+++ gsl-oct.info        14 Sep 2011 13:09:35 -0000      1.4
@@ -170,6 +170,9 @@
 SetMAKEFLAGS: -j1
 
 CompileScript: <<
+       #!/bin/sh -ev
+       export CC=`which cc`
+       export CXX=`which c++`
        rm -rf doc/RCS
        %p/share/octave/%type_raw[oct]/scripts/octave-forge-compile.sh 
%type_raw[forge]-%v
 <<
@@ -201,8 +204,11 @@
 Specific to this package:
 remove RCS files for docs which somehow made it into the release tarball.
 
-Common for all octave-forge packages.
+Somehow finds a reference to flag-sort, even though that has been scrubbed 
+from all of the text files in our Octave distros, so we have to set CC and CXX 
+explicitly.
 
+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.

Index: bundle-octave.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci/bundle-octave.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- bundle-octave.info  13 Sep 2011 17:47:05 -0000      1.2
+++ bundle-octave.info  14 Sep 2011 13:09:35 -0000      1.3
@@ -1,19 +1,24 @@
 Info2: <<
 Package: bundle-octave%type_pkg[oct]%type_pkg[-atlas]
-Version: 20110912
-Revision: 2
-Type: bundle, oct (3.0.5 3.2.4), -atlas (boolean)
+Version: 20110914
+Revision: 1
+Type: bundle, oct (3.0.5 3.2.4), -atlas (.)
 Depends: <<
 octave%type_pkg[oct]%type_pkg[-atlas],
+actuarial-oct%type_pkg[oct],
+( %type_pkg[oct] != 324 ) ad-oct%type_pkg[oct],
+audio-oct%type_pkg[oct],
 ( %type_pkg[oct] = 305 ) bugfix-3.0.6-oct305,
 data-smoothing-oct%type_pkg[oct],
 fits-oct%type_pkg[oct],
 general-oct%type_pkg[oct],
 ( %type_pkg[oct] = 305 ) graceplot-oct%type_pkg[oct],
+gnuplot-oct%type_pkg[oct],
 gsl-oct%type_pkg[oct],
 ( %type_pkg[oct] != 305 ) image-oct%type_pkg[oct],
 io-oct%type_pkg[oct],
 miscellaneous-oct%type_pkg[oct],
+missing-functions-oct%type_pkg[oct],
 nan-oct%type_pkg[oct],
 ( %type_pkg[oct] != 324 ) octcdf-oct%type_pkg[oct],
 optim-oct%type_pkg[oct],


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