{$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.4'; P.SourcePath.Add('src'); T:=P.Targets.AddUnit('aspell.pp'); T:=P.Targets.AddUnit('spellcheck.pp'); with T.Dependencies do begin AddUnit('aspell'); end; P.Sources.AddSrc('LICENSE'); P.Sources.AddSrc('LICENSE.ADDON'); {$ifndef ALLPACKAGES} Run; end; end. {$endif ALLPACKAGES}