fpmake.pp 812 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses
  5. {$ifdef unix}
  6. cthreads,
  7. {$endif}
  8. fpmkunit;
  9. {$endif ALLPACKAGES}
  10. procedure add_rmwait(const ADirectory: string);
  11. Var
  12. P : TPackage;
  13. T : TTarget;
  14. begin
  15. With Installer do
  16. begin
  17. P:=AddPackage('utils-rmwait');
  18. p.ShortName:='rmw';
  19. P.Author := 'Tomas Hajny';
  20. P.License := 'LGPL with modification';
  21. P.HomepageURL := 'www.freepascal.org';
  22. P.Email := '';
  23. P.Description := 'Tool to remove (delete) file(s) with optional retries';
  24. P.NeedLibC:= false;
  25. P.Directory:=ADirectory;
  26. P.Version:='3.3.1';
  27. P.OSes:=[win32,win64,wince,os2,emx,go32v2];
  28. T:=P.Targets.AddProgram('rmwait.pas');
  29. end;
  30. end;
  31. {$ifndef ALLPACKAGES}
  32. begin
  33. add_rmwait('');
  34. Installer.Run;
  35. end.
  36. {$endif ALLPACKAGES}