fpmake.pp 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. Var
  6. P : TPackage;
  7. T : TTarget;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('libsee');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:=ADirectory;
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.7.1';
  17. P.Author := 'David Leonard';
  18. P.License := 'BSD style';
  19. P.HomepageURL := 'http://www.adaptive-enterprises.com.au/~d/software/see/';
  20. P.Email := '[email protected]';
  21. P.Description := 'Headers for the libSEE library (javascript engine)';
  22. P.NeedLibC:= true; // true for headers that indirectly link to libc?
  23. P.OSes := [linux,win32];
  24. P.SourcePath.Add('src');
  25. P.IncludePath.Add('src');
  26. T:=P.Targets.AddUnit('libsee.pas');
  27. P.ExamplePath.Add('examples');
  28. P.Targets.AddExampleUnit('mod_stream.pp');
  29. P.Targets.AddExampleProgram('tlibsee.pp');
  30. P.Targets.AddExampleProgram('testwrite.pp');
  31. P.Targets.AddExampleProgram('teststream.pp');
  32. {$ifndef ALLPACKAGES}
  33. Run;
  34. end;
  35. end.
  36. {$endif ALLPACKAGES}