fpc/packages/libnettle/fpmake.pp
2023-07-27 19:04:09 +02:00

45 lines
925 B
ObjectPascal

{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;
uses {$ifdef unix}cthreads,{$endif} fpmkunit;
Var
T : TTarget;
P : TPackage;
begin
With Installer do
begin
{$endif ALLPACKAGES}
P:=AddPackage('libnettle');
{$ifdef ALLPACKAGES}
P.Directory:=ADirectory;
{$endif ALLPACKAGES}
P.Version:='3.3.1';
P.Dependencies.Add('gmp');
P.Author := 'FreePascal development team';
P.License := 'LGPL with modification, ';
P.HomepageURL := 'www.freepascal.org';
P.Email := '';
P.Description := 'LibNettle is the interface to GNU nettle, a C library that implements gryptography';
P.NeedLibC:= false;
P.OSes := [linux,win32];
P.SourcePath.Add('src');
T:=P.Targets.AddUnit('libnettle.pp');
P.Sources.AddExampleFiles('examples/*.lpr',P.Directory,false,'.');
P.NamespaceMap:='namespaces.lst';
{$ifndef ALLPACKAGES}
Run;
end;
end.
{$endif ALLPACKAGES}