2
0

fpmake.pp 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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('libsndfile');
  13. P.ShortName:='lsndfile';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.Version:='3.3.1';
  18. P.Author := 'Library: libsndfile';
  19. P.License := 'Library: LGPL';
  20. P.HomepageURL := 'https://libsndfile.github.io/libsndfile/';
  21. P.Email := '';
  22. P.Description := 'Headers for the libsndfile library';
  23. P.NeedLibC:= true; // true for headers that indirectly link to libc?
  24. P.OSes := AllUnixOSes-[qnx];
  25. if Defaults.CPU=jvm then
  26. P.OSes := P.OSes - [android];
  27. P.SourcePath.Add('src');
  28. T:=P.Targets.AddUnit('sndfile.pp');
  29. P.Sources.AddSrc('README');
  30. P.ExamplePath.Add('examples');
  31. P.Targets.AddExampleProgram('sfplay.pp');
  32. P.NamespaceMap:='namespaces.lst';
  33. {$ifndef ALLPACKAGES}
  34. Run;
  35. end;
  36. end.
  37. {$endif ALLPACKAGES}