fpmake.pp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. P.ShortName := 'asp';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.Version:='3.2.3';
  18. P.Author := 'header:Aleš Katona, library: Kevin Atkinson';
  19. P.License := 'header: LGPL with modification, library: LGPL 2.0 or 2.1';
  20. P.HomepageURL := 'www.freepascal.org';
  21. P.OSes := [beos,haiku,freebsd,darwin,iphonesim,ios,netbsd,openbsd,linux,win32,aix,dragonfly];
  22. P.Email := '';
  23. P.Description := 'The New Aspell, spelling library';
  24. P.NeedLibC:= true;
  25. P.SourcePath.Add('src');
  26. T:=P.Targets.AddUnit('aspell.pp');
  27. T.Dependencies.AddInclude('src/aspelltypes.inc');
  28. T:=P.Targets.AddUnit('aspelldyn.pp');
  29. T:=P.Targets.AddUnit('spellcheck.pp');
  30. with T.Dependencies do
  31. begin
  32. AddUnit('aspell');
  33. end;
  34. P.Sources.AddSrc('LICENSE');
  35. P.Sources.AddSrc('LICENSE.ADDON');
  36. P.ExamplePath.Add('examples');
  37. T:=P.Targets.AddExampleProgram('example.pas');
  38. {$ifndef ALLPACKAGES}
  39. Run;
  40. end;
  41. end.
  42. {$endif ALLPACKAGES}