fpmake.pp 970 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. P.SourcePath.Add('src');
  26. T:=P.Targets.AddUnit('sndfile.pp');
  27. P.Sources.AddSrc('README');
  28. P.ExamplePath.Add('examples');
  29. P.Targets.AddExampleProgram('sfplay.pp');
  30. P.NamespaceMap:='namespaces.lst';
  31. {$ifndef ALLPACKAGES}
  32. Run;
  33. end;
  34. end.
  35. {$endif ALLPACKAGES}