fpmake.pp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses {$ifdef unix}cthreads,{$endif} fpmkunit;
  5. Var
  6. P : TPackage;
  7. T : TTarget;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('fftw');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:=ADirectory;
  15. {$endif ALLPACKAGES}
  16. P.Version:='3.3.1';
  17. P.Version:='3.3.1';
  18. P.Author := 'Library: Matteo Frigo and Steven G. Johnson, header: Daniel Mantione';
  19. P.License := 'Library: GPL or commercial, header: LGPL with modification, ';
  20. P.HomepageURL := 'www.freepascal.org';
  21. P.Email := '';
  22. P.Description := 'Library for computing the discrete Fourier transform (DFT) in one or more dimensions, of arbitrary input size, and of both real and complex data';
  23. P.NeedLibC:= true; // should be true for a header linking to C?
  24. P.OSes := AllUnixOSes+AllWindowsOSes-[qnx];
  25. if Defaults.CPU=jvm then
  26. P.OSes := P.OSes - [java,android];
  27. P.SourcePath.Add('src');
  28. T:=P.Targets.AddUnit('fftw_s.pas');
  29. P.ExamplePath.Add('examples');
  30. P.Targets.AddExampleProgram('examples/example.pas');
  31. P.NamespaceMap:='namespaces.lst';
  32. {$ifndef ALLPACKAGES}
  33. Run;
  34. end;
  35. end.
  36. {$endif ALLPACKAGES}