fpmake.pp 925 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses {$ifdef unix}cthreads,{$endif} fpmkunit;
  5. Var
  6. T : TTarget;
  7. P : TPackage;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('libnettle');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:=ADirectory;
  15. {$endif ALLPACKAGES}
  16. P.Version:='3.3.1';
  17. P.Dependencies.Add('gmp');
  18. P.Author := 'FreePascal development team';
  19. P.License := 'LGPL with modification, ';
  20. P.HomepageURL := 'www.freepascal.org';
  21. P.Email := '';
  22. P.Description := 'LibNettle is the interface to GNU nettle, a C library that implements gryptography';
  23. P.NeedLibC:= false;
  24. P.OSes := [linux,win32];
  25. P.SourcePath.Add('src');
  26. T:=P.Targets.AddUnit('libnettle.pp');
  27. P.Sources.AddExampleFiles('examples/*.lpr',P.Directory,false,'.');
  28. P.NamespaceMap:='namespaces.lst';
  29. {$ifndef ALLPACKAGES}
  30. Run;
  31. end;
  32. end.
  33. {$endif ALLPACKAGES}