fpc/packages/aspell/fpmake.pp
Almindor 1446eb9dc2 * separate static and dynamic loadable aspell
git-svn-id: trunk@12241 -
2008-11-27 10:51:20 +00:00

49 lines
1.0 KiB
ObjectPascal

{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;
uses fpmkunit;
Var
P : TPackage;
T : TTarget;
begin
With Installer do
begin
{$endif ALLPACKAGES}
P:=AddPackage('aspell');
{$ifdef ALLPACKAGES}
P.Directory:='aspell';
{$endif ALLPACKAGES}
P.Version:='2.2.2-0';
P.Author := 'header:Aleš Katona, library: Kevin Atkinson';
P.License := 'header: LGPL with modification, library: LGPL 2.0 or 2.1';
P.HomepageURL := 'www.freepascal.org';
P.Email := '';
P.Description := 'The New Aspell, spelling library';
P.NeedLibC:= true;
P.SourcePath.Add('src');
T:=P.Targets.AddUnit('aspell.pp');
T:=P.Targets.AddUnit('aspelldyn.pp');
T:=P.Targets.AddUnit('spellcheck.pp');
with T.Dependencies do
begin
AddUnit('aspell');
end;
P.Sources.AddSrc('LICENSE');
P.Sources.AddSrc('LICENSE.ADDON');
P.ExamplePath.Add('examples');
T:=P.Targets.AddExampleProgram('example.pas');
{$ifndef ALLPACKAGES}
Run;
end;
end.
{$endif ALLPACKAGES}