Info2: << Package: symbolic-oct305 Version: 1.0.7 Type: oct (3.0.5), forge (symbolic) Revision: 1 Maintainer: Alexander Hansen # unfortunately, Homepage won't do types Homepage: http://octave.sourceforge.net/symbolic/index.html Description: Symbolic toolbox for Octave DescDetail: << Symbolic toolbox based on GiNaC and CLN. The package provides the following functions: Symbols: symbols sym ex_matrix Pi Extended precision arithmetic: digits vpa to_double Properties: is_ex is_ex_matrix is_sym is_vpa syminfo Expression manipulation: subs collect expand lcoeff numden findsymbols findsym Special Functions: Abs Cos Cosh Exp Gcd Log Sin Sinh Tan Tanh aCos aCosh aSin aSinh aTan aTanh Sqrt Polynomials: tcoeff coeff degree ldegree sym2poly poly2sym sumterms Calculus differentiate Solving Equations: symlsolve symfsolve Number theory: probably_prime quotient remainder premainder Plot: splot Conversion: to_char << License: GPL2+ # 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, ginac2, cln6, ( %type_pkg[oct] = 305 ) hdf5.7-oldapi, ( %type_pkg[oct] != 305 ) hdf5.7 << Depends: << octave%type_pkg[oct] | octave%type_pkg[oct]-atlas, cln6-shlibs, ginac2-shlibs << Conflicts: octave-forge Replaces: octave-forge-%type_raw[forge] (<< 1.0.8-999) Source-MD5: 30758e5791a04c378ed3e32b57396cd0 #### 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. << <<