fpmake.pp 962 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. Var
  6. P : TPackage;
  7. T : TTarget;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('gdbm');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:=ADirectory;
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.7.1';
  17. P.Author := 'Library: GNU, header: Michael van Canneyt';
  18. P.License := 'Library: GPL2 (or later?), header: LGPL with modification, ';
  19. P.HomepageURL := 'www.freepascal.org';
  20. P.Email := '';
  21. P.Description := 'GNU dbm is a set of database routines that use extensible hashing.';
  22. P.NeedLibC:= true; // true for headers that indirectly link to libc?
  23. P.OSes := AllUnixOSes - [qnx];
  24. P.SourcePath.Add('src');
  25. T:=P.Targets.AddUnit('gdbm.pp');
  26. P.ExamplePath.Add('examples');
  27. P.Targets.AddExampleProgram('testgdbm.pp');
  28. P.Targets.AddExampleProgram('testgdbm2.pp');
  29. {$ifndef ALLPACKAGES}
  30. Run;
  31. end;
  32. end.
  33. {$endif ALLPACKAGES}