fpmake.pp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. Var
  6. P : TPackage;
  7. D : TDependency;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('fpmkunit');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:=ADirectory;
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.7.1';
  17. P.Description:='Free Pascal Make Tool';
  18. P.Author := 'Peter Vreman';
  19. P.License := 'LGPL with modification, ';
  20. P.HomepageURL := 'www.freepascal.org';
  21. P.Email := '';
  22. P.Description := 'Basic library of the fpmake/fppkg build system.';
  23. P.NeedLibC:= false; // true for headers that indirectly link to libc?
  24. P.OSes := P.OSes - [embedded,nativent];
  25. // All dependencies (including implicit) are listed
  26. // here to be able to update all requirements to
  27. // compile fpmake from a single place
  28. D:=P.Dependencies.Add('hash');
  29. D.Version:='2.7.1';
  30. D:=P.Dependencies.Add('paszlib');
  31. D.Version:='2.7.1';
  32. D:=P.Dependencies.Add('fcl-process');
  33. D.Version:='2.7.1';
  34. D:=P.Dependencies.Add('libtar');
  35. D.Version:='2.7.1';
  36. with P.Targets.AddUnit('src/fpmkunit.pp') do
  37. ResourceStrings:=true;
  38. {$ifndef ALLPACKAGES}
  39. Run;
  40. end;
  41. end.
  42. {$endif ALLPACKAGES}