fpmake.pp 665 B

12345678910111213141516171819202122232425262728293031323334
  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('rsvg');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:=ADirectory;
  15. {$endif ALLPACKAGES}
  16. P.OSes := [beos,haiku,freebsd,netbsd,openbsd,linux,win32,aix];
  17. // Do not build x11 on iPhone (=arm-darwin)
  18. if Defaults.CPU<>arm then
  19. P.OSes := P.OSes + [darwin];
  20. P.Version:='2.7.1';
  21. P.SourcePath.Add('src');
  22. P.IncludePath.Add('src');
  23. P.Dependencies.Add('gtk2');
  24. T:=P.Targets.AddUnit('rsvg.pas');
  25. {$ifndef ALLPACKAGES}
  26. Run;
  27. end;
  28. end.
  29. {$endif ALLPACKAGES}