Permalink
Browse files

Update for oct343

  • Loading branch information...
akhansen committed Oct 30, 2011
1 parent ce0401f commit 0225e3cd433ec9ec6cb49662a09571a8fddb0ddf
Showing with 417 additions and 0 deletions.
  1. +109 −0 octave/spline-gcvspl-oct.info
  2. +188 −0 octave/statistics-oct.info
  3. +120 −0 octave/strings-oct.info
@@ -0,0 +1,109 @@
+Info2: <<
+Package: spline-gcvspl-oct%type_pkg[oct]
+Version: 1.0.8
+Type: oct (3.0.5 3.2.4 3.4.3), forge (spline-gcvspl)
+Revision: 2
+Maintainer: Alexander Hansen <alexkhansen@users.sourceforge.net>
+# unfortunately, Homepage won't do types
+Homepage: http://octave.sourceforge.net/spline-gcvspl/index.html
+Description: B-spline data smoothing for Octave
+DescDetail: <<
+B-spline data smoothing using generalized cross-validation and mean squared
+prediction or explicit user smoothing.
+
+This package provides the following functions:
+ csaps
+ gcvspl
+<<
+
+# 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: <<
+ liboctave%type_pkg[oct]-dev,
+ fftw3,
+ ( %type_pkg[oct] = 305 ) hdf5.7-oldapi,
+ ( %type_pkg[oct] != 305 ) hdf5.7
+ <<
+Depends: <<
+ octave%type_pkg[oct]-interpreter
+<<
+Conflicts: octave-forge
+
+Source-MD5: cc09645ff71e45fc2789b2a563f1544b
+Source: mirror:sourceforge:octave/Octave%%20Forge%%20Packages/R2009-06-07/%type_raw[forge]-%v.tar.gz
+
+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, or when the package name contains
+underscores.
+<<
+
+#### Insert required changes here ####
+
+#TarFilesRename: spline-gcvspl:spline-gcvspl-1.0.8
+#@CHANGES@
+License: Restrictive/Distributable
+DescUsage: This package is for non-commercial use only.
+
+######################################
+
+# 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.
+
+NoSetCPPFLAGS: true
+NoSetLDFLAGS: true
+SetLIBRARY_PATH: /usr/X11R6/lib:%p/lib
+SetMAKEFLAGS: -j1
+
+CompileScript: <<
+#!/bin/sh -ev
+export OCTAVE=%p/bin/octave-%type_raw[oct]
+# repack tarball, since octave-3.4.3 appears not to want to install
+# from directories
+if [ "%type_pkg[oct]" = "343" ]
+then
+ cd ..
+ tar -cvzf %type_raw[forge]-%v.tar.gz %type_raw[forge]-%v
+ cd %b
+ pkgsrc=%type_raw[forge]-%v.tar.gz
+else pkgsrc=%type_raw[forge]-%v
+fi
+%p/share/octave/%type_raw[oct]/scripts/octave-forge-compile.sh $pkgsrc
+<<
+
+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
+<<
View
@@ -0,0 +1,188 @@
+Info2: <<
+Package: statistics-oct%type_pkg[oct]
+Version: 1.0.10
+Type: oct (3.0.5 3.2.4 3.4.3), forge (statistics)
+Revision: 2
+Maintainer: Alexander Hansen <alexkhansen@users.sourceforge.net>
+# unfortunately, Homepage won't do types
+Homepage: http://octave.sourceforge.net/statistics/index.html
+Description: Additional statistics functions for Octave
+DescDetail: <<
+Additional statistics functions for Octave.
+
+This package provides the following functions:
+
+Distributions:
+ anderson_darling_cdf
+ betastat
+ binostat
+ chi2stat
+ copulacdf
+ copulapdf
+ expstat
+ fstat
+ gamstat
+ geostat
+ hygestat
+ lognstat
+ mvnpdf
+ mvnrnd
+ mvncdf
+ vmpdf
+ vmrnd
+ mvtcdf
+ normstat
+ nbinstat
+ poisstat
+ raylcdf
+ raylinv
+ raylpdf
+ raylrnd
+ raylstat
+ tstat
+ unidstat
+ unifstat
+ wblstat
+ gamlike
+ jsucdf
+ jsupdf
+ random
+ cl_multinom
+Descriptive statistics:
+ nansum
+ nanmax
+ nanmean
+ nanmedian
+ nanmin
+ nanstd
+ nanvar
+ geomean
+ harmmean
+ mad
+ prctile
+ trimmean
+ zscore
+ tabulate
+Experimental design:
+ fullfact
+ ff2n
+Linear regression:
+ anovan
+ princomp
+ regress
+Plots:
+ boxplot
+ scatter
+ normplot
+ pareto
+ histfit
+Models:
+ hmmestimate
+ hmmgenerate
+ hmmviterbi
+Hypothesis testing:
+ anderson_darling_test
+Fitting:
+ gamfit
+Clustering:
+ pdist
+ linkage
+ squareform
+Reading and Writing:
+ caseread
+ casewrite
+ tblread
+ tblwrite
+<<
+
+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: <<
+ liboctave%type_pkg[oct]-dev,
+ fftw3,
+ ( %type_pkg[oct] = 305 ) hdf5.7-oldapi,
+ ( %type_pkg[oct] != 305 ) hdf5.7
+<<
+Depends: <<
+ octave%type_pkg[oct]-interpreter,
+ miscellaneous-oct%type_pkg[oct]
+<<
+Conflicts: octave-forge
+
+Source: mirror:sourceforge:octave/Octave%%20Forge%%20Packages/Individual%%20Package%%20Releases/%type_raw[forge]-%v.tar.gz
+Source-MD5: 588fc3e1d86e82af1eab6d8fc6e7840e
+
+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, or when the package name contains
+underscores.
+<<
+
+#### Insert required changes here ####
+
+TarFilesRename: statistics:statistics-1.0.10
+
+######################################
+
+# 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.
+
+NoSetCPPFLAGS: true
+NoSetLDFLAGS: true
+SetLIBRARY_PATH: /usr/X11R6/lib:%p/lib
+SetMAKEFLAGS: -j1
+
+CompileScript: <<
+#!/bin/sh -ev
+export OCTAVE=%p/bin/octave-%type_raw[oct]
+# repack tarball, since octave-3.4.3 appears not to want to install
+# from directories
+if [ "%type_pkg[oct]" = "343" ]
+then
+ cd ..
+ tar -cvzf %type_raw[forge]-%v.tar.gz %type_raw[forge]-%v
+ cd %b
+ pkgsrc=%type_raw[forge]-%v.tar.gz
+else pkgsrc=%type_raw[forge]-%v
+fi
+%p/share/octave/%type_raw[oct]/scripts/octave-forge-compile.sh $pkgsrc
+<<
+
+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
+<<
Oops, something went wrong.

0 comments on commit 0225e3c

Please sign in to comment.