fpc/packages/aspell/fpmake.pp
Jonas Maebe e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS
* rename the m68k/PowerPC-MacOS targets to m68k/PowerPC-MacOSClassic
  * repurpose the AArch64/Darwin target for AArch64/macOS
   o make AArch64-Darwin default target for a hosted AArch64-Darwin compiler

git-svn-id: trunk@45758 -
2020-07-10 21:52:24 +00:00

54 lines
1.2 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');
P.ShortName := 'asp';
{$ifdef ALLPACKAGES}
P.Directory:=ADirectory;
{$endif ALLPACKAGES}
P.Version:='3.3.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}