fpmake.pp 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. P.ShortName:='fpmk';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.Version:='3.1.1';
  18. P.Description:='Free Pascal Make Tool';
  19. P.Author := 'Peter Vreman';
  20. P.License := 'LGPL with modification, ';
  21. P.HomepageURL := 'www.freepascal.org';
  22. P.Email := '';
  23. P.Description := 'Basic library of the fpmake/fppkg build system.';
  24. P.NeedLibC:= false; // true for headers that indirectly link to libc?
  25. P.OSes := P.OSes - [embedded,nativent,msdos,win16];
  26. // All dependencies (including implicit) are listed
  27. // here to be able to update all requirements to
  28. // compile fpmake from a single place
  29. D:=P.Dependencies.Add('hash');
  30. D.Version:='3.1.1';
  31. D:=P.Dependencies.Add('paszlib');
  32. D.Version:='3.1.1';
  33. D:=P.Dependencies.Add('fcl-process');
  34. D.Version:='3.1.1';
  35. D:=P.Dependencies.Add('libtar');
  36. D.Version:='3.1.1';
  37. with P.Targets.AddUnit('src/fpmkunit.pp') do
  38. ResourceStrings:=true;
  39. {$ifndef ALLPACKAGES}
  40. Run;
  41. end;
  42. end.
  43. {$endif ALLPACKAGES}