fpmake.pp 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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('libcups');
  13. P.ShortName := 'lcup';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.Version:='3.3.1';
  18. P.Author := 'Header: Olivier GUILBAUD';
  19. P.License := 'Header: LGPL with modi ';
  20. P.HomepageURL := 'www.freepascal.org';
  21. P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,aix,dragonfly];
  22. P.Email := '';
  23. P.Description := 'This package provides an interface with Common UNIX Printing System.';
  24. P.NeedLibC:= false; // true for headers that indirectly link to libc?
  25. P.Dependencies.Add('rtl-extra');
  26. P.SourcePath.Add('src');
  27. T:=P.Targets.AddUnit('cupsdyn.pp');
  28. P.ExamplePath.Add('examples');
  29. // P.Targets.AddExampleProgram('testcups.pp');
  30. // P.Sources.AddExampleFiles('examples/*',P.Directory,false,'.');
  31. {$ifndef ALLPACKAGES}
  32. Run;
  33. end;
  34. end.
  35. {$endif ALLPACKAGES}