fpmake.pp 745 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. Var
  6. T : TTarget;
  7. P : TPackage;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('gmp');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:=ADirectory;
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.7.1';
  17. P.Author := 'FreePascal development team';
  18. P.License := 'LGPL with modification, ';
  19. P.HomepageURL := 'www.freepascal.org';
  20. P.Email := '';
  21. P.Description := 'GMP';
  22. P.NeedLibC:= false;
  23. P.OSes := [freebsd,darwin,iphonesim,linux,win32,aix];
  24. P.SourcePath.Add('src');
  25. T:=P.Targets.AddUnit('gmp.pas');
  26. P.Sources.AddExampleFiles('examples/*',false,'.');
  27. {$ifndef ALLPACKAGES}
  28. Run;
  29. end;
  30. end.
  31. {$endif ALLPACKAGES}