Info2: << Package: tsa-oct%type_pkg[oct] Version: 4.2.4 Type: oct (3.6.0 3.6.1 3.6.2 3.6.3 3.6.4), forge (tsa), gcc (4.7) Revision: 7 Architecture: i386, x86_64 Maintainer: Alexander Hansen # unfortunately, Homepage won't do types Homepage: http://octave.sourceforge.net/tsa/index.html Description: Time series analysis package for Octave DescDetail: << The package contains functions utilizing stochastic concepts and maximum entropy methods for time series analysis. It provides the following additional functions: Univariate (stationary) analysis: acovf acorf biacovf bispec durlev lattice rmle pacf parcor invest0 invest1 selmo selmo2 histo histo2 histo3 hup ucp y2res ar_spa detrend flix Multivariate stationary analysis: mvar mvfilter mvfreqz arfit2 histo4 Adaptive (time-varying) analysis: aar aarmam adim amarma mvaar Conversions between forms: ac2poly ac2rc ar2rc rc2ar poly2ac poly2ar poly2rc rc2ac rc2poly ar2poly Utility functions: arcext sinvest1 sbispec flag_implicit_samplerate Test suites: tsademo bisdemo invfdemo << License: GPL3+ BuildDepends: << liboctave%type_pkg[oct]-dev, fink-octave-scripts (>= 0.2.0-1), gcc%type_pkg[gcc]-compiler, fftw3, hdf5.8 << Depends: octave%type_pkg[oct]-interpreter Conflicts: octave-forge, octave-forge-%type_raw[forge] (<< 4.0.0-999) Replaces: octave-forge-%type_raw[forge] (<< 4.0.0-999) Source: mirror:sourceforge:octave/%type_raw[forge]-%v.tar.gz Source-MD5: 380d777fba834e1ca5bcd6e09c7e332a SourceDirectory: %type_pkg[forge] PatchFile: %{Ni}.patch PatchFile-MD5: 56e14a5eac9b26da0aefcc580e6d697c PatchScript: << #!/bin/sh -ev sed -e 's|@FINKPREFIX@|%p|g' \ -e 's|@OCTVERSION@|%type_raw[oct]|g' \ -e 's|@GCC@|%type_raw[gcc]|g' \ %{PatchFile} | patch -p1 cd src rm *.mex *.mexw32 *.mexa64 << NoSetCPPFLAGS: true NoSetLDFLAGS: true SetLIBRARY_PATH: /usr/X11R6/lib:%p/lib UseMaxBuildJobs: false BuildAsNobody: false CompileScript: << #!/bin/sh -ev pkgsrc=%type_raw[forge] %p/share/fink-octave-scripts/octave-forge-patch.sh %type_raw[forge] %v %type_raw[oct] %b %i $pkgsrc # needs to use gcc47 to build, so stash a special mkoctfile in %b/bin ./genmkoctfile.sh %type_raw[gcc] export PATH="%b/bin:$PATH" ./octave-forge-compile.sh << InstallScript: ./octave-forge-install.sh PostInstScript: %p/share/octave/%type_raw[oct]/%type_raw[forge]/octave-forge-postinst.sh PreRmScript: %p/share/octave/%type_raw[oct]/%type_raw[forge]/octave-forge-prerm.sh DescPackaging: << This package: Wants libgomp, so we'll use that from gcc47. The package doesn't seem to get along with gcc48: /sw/lib/gcc4.8/include/c++/4.8.0/cstdlib: In function 'long long int std::abs(long long int)': /sw/lib/gcc4.8/include/c++/4.8.0/cstdlib:174:20: error: declaration of C function 'long long int std::abs(long long int)' conflicts with abs(long long __x) { return __builtin_llabs (__x); } ^ /sw/lib/gcc4.8/include/c++/4.8.0/cstdlib:166:3: error: previous declaration 'long int std::abs(long int)' here abs(long __i) { return __builtin_labs(__i); } ^ /sw/lib/gcc4.8/include/c++/4.8.0/cstdlib: In function '__int128 std::abs(__int128)': /sw/lib/gcc4.8/include/c++/4.8.0/cstdlib:179:19: error: declaration of C function '__int128 std::abs(__int128)' conflicts with abs(__int128 __x) { return __x >= 0 ? __x : -__x; } ^ /sw/lib/gcc4.8/include/c++/4.8.0/cstdlib:174:3: error: previous declaration 'long long int std::abs(long long int)' here abs(long long __x) { return __builtin_llabs (__x); } ^ /sw/lib/gcc4.8/include/c++/4.8.0/cstdlib:179:19: error: declaration of C function '__int128 std::abs(__int128)' conflicts with abs(__int128 __x) { return __x >= 0 ? __x : -__x; } ^ /sw/lib/gcc4.8/include/c++/4.8.0/cstdlib:166:3: error: previous declaration 'long int std::abs(long int)' here abs(long __i) { return __builtin_labs(__i); } 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. << DescPort: << Clean out mex files for Windows which were included for some reason. << <<