fpmake.pp 998 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. Var
  6. P : TPackage;
  7. T : TTarget;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('aspell');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:='aspell';
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.2.2-0';
  17. P.Author := 'header:Aleš Katona, library: Kevin Atkinson';
  18. P.License := 'header: LGPL with modification, library: LGPL 2.0 or 2.1';
  19. P.ExternalURL := 'www.freepascal.org';
  20. P.Email := '';
  21. P.Description := 'The New Aspell, spelling library';
  22. P.NeedLibC:= true;
  23. P.SourcePath.Add('src');
  24. T:=P.Targets.AddUnit('aspell.pp');
  25. T:=P.Targets.AddUnit('spellcheck.pp');
  26. with T.Dependencies do
  27. begin
  28. AddUnit('aspell');
  29. end;
  30. P.Sources.AddSrc('LICENSE');
  31. P.Sources.AddSrc('LICENSE.ADDON');
  32. P.ExamplePath.Add('examples');
  33. T:=P.Targets.AddExampleProgram('example.pas');
  34. {$ifndef ALLPACKAGES}
  35. Run;
  36. end;
  37. end.
  38. {$endif ALLPACKAGES}