fpmake.pp 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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:=ADirectory;
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.7.1';
  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.OSes := [beos,haiku,freebsd,darwin,iphonesim,netbsd,openbsd,linux,win32,aix];
  21. P.Email := '';
  22. P.Description := 'The New Aspell, spelling library';
  23. P.NeedLibC:= true;
  24. P.SourcePath.Add('src');
  25. T:=P.Targets.AddUnit('aspell.pp');
  26. T:=P.Targets.AddUnit('aspelldyn.pp');
  27. T:=P.Targets.AddUnit('spellcheck.pp');
  28. with T.Dependencies do
  29. begin
  30. AddUnit('aspell');
  31. end;
  32. P.Sources.AddSrc('LICENSE');
  33. P.Sources.AddSrc('LICENSE.ADDON');
  34. P.ExamplePath.Add('examples');
  35. T:=P.Targets.AddExampleProgram('example.pas');
  36. {$ifndef ALLPACKAGES}
  37. Run;
  38. end;
  39. end.
  40. {$endif ALLPACKAGES}