fpmake.pp 902 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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('utils-importtl');
  14. P.ShortName:='importttl';
  15. P.Author := '<various>';
  16. P.License := 'LGPL with modification';
  17. P.HomepageURL := 'www.freepascal.org';
  18. P.Email := '';
  19. P.Description := 'Reads type information from "file" and converts it into a freepascal binding.';
  20. P.NeedLibC:= false;
  21. P.Dependencies.Add('winunits-base');
  22. P.Dependencies.Add('fcl-base');
  23. P.Dependencies.Add('fcl-registry');
  24. P.Directory:=ADirectory;
  25. P.Version:='3.1.1';
  26. P.OSes:=[win32,win64];
  27. T:=P.Targets.AddProgram('importtl.pas');
  28. end;
  29. end;
  30. {$ifndef ALLPACKAGES}
  31. begin
  32. add_importtl('');
  33. Installer.Run;
  34. end.
  35. {$endif ALLPACKAGES}