fpmake.pp 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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.HomepageURL := '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('aspelldyn.pp');
  26. T:=P.Targets.AddUnit('spellcheck.pp');
  27. with T.Dependencies do
  28. begin
  29. AddUnit('aspell');
  30. end;
  31. P.Sources.AddSrc('LICENSE');
  32. P.Sources.AddSrc('LICENSE.ADDON');
  33. P.ExamplePath.Add('examples');
  34. T:=P.Targets.AddExampleProgram('example.pas');
  35. {$ifndef ALLPACKAGES}
  36. Run;
  37. end;
  38. end.
  39. {$endif ALLPACKAGES}