fpmake.pp 937 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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('libmagic');
  13. P.ShortName:='magic';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.Version:='3.3.1';
  18. P.Author := 'Library: libmagic';
  19. P.License := 'Library: GPL, header: LGPL with modification, ';
  20. P.HomepageURL := 'www.freepascal.org';
  21. P.Email := '';
  22. P.Description := 'Headers for the magic library (library to determine file type)';
  23. P.NeedLibC:= true; // true for headers that indirectly link to libc?
  24. P.OSes := AllUnixOSes-[qnx];
  25. P.SourcePath.Add('src');
  26. P.IncludePath.Add('src');
  27. T:=P.Targets.AddUnit('libmagic.pp');
  28. P.ExamplePath.Add('examples');
  29. P.Targets.AddExampleProgram('basic.pp');
  30. {$ifndef ALLPACKAGES}
  31. Run;
  32. end;
  33. end.
  34. {$endif ALLPACKAGES}