summaryrefslogtreecommitdiff
path: root/packages/aspell/fpmake.pp
blob: f1d30839b9dd0ed97232a1943a4f30adc6f6b628 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{$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:=ADirectory;
{$endif ALLPACKAGES}

    P.Version:='3.2.1';

    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.OSes := [beos,haiku,freebsd,darwin,iphonesim,ios,netbsd,openbsd,linux,win32,aix,dragonfly];
    P.Email := '';
    P.Description := 'The New Aspell, spelling library';
    P.NeedLibC:= true;

    P.SourcePath.Add('src');

    T:=P.Targets.AddUnit('aspell.pp');
    T.Dependencies.AddInclude('src/aspelltypes.inc');
    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}