fpmake.pp 866 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. {$endif ALLPACKAGES}
  6. procedure add_importtl(const ADirectory: string);
  7. Var
  8. P : TPackage;
  9. T : TTarget;
  10. begin
  11. With Installer do
  12. begin
  13. P:=AddPackage('importtl');
  14. P.Author := '<various>';
  15. P.License := 'LGPL with modification';
  16. P.HomepageURL := 'www.freepascal.org';
  17. P.Email := '';
  18. P.Description := 'Reads type information from "file" and converts it into a freepascal binding.';
  19. P.NeedLibC:= false;
  20. P.Dependencies.Add('winunits-base');
  21. P.Dependencies.Add('fcl-base');
  22. P.Dependencies.Add('fcl-registry');
  23. P.Directory:=ADirectory;
  24. P.Version:='2.7.1';
  25. P.OSes:=[win32,win64];
  26. T:=P.Targets.AddProgram('importtl.pas');
  27. end;
  28. end;
  29. {$ifndef ALLPACKAGES}
  30. begin
  31. add_importtl('');
  32. Installer.Run;
  33. end.
  34. {$endif ALLPACKAGES}