2
0

fpmake.pp 879 B

1234567891011121314151617181920212223242526272829303132333435363738
  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('libgd');
  13. P.ShortName:='lgd';
  14. P.Description := 'Interface unit for library libgd - image processing';
  15. {$ifdef ALLPACKAGES}
  16. P.Directory:=ADirectory;
  17. {$endif ALLPACKAGES}
  18. P.Version:='3.3.1';
  19. P.SourcePath.Add('src');
  20. P.OSes := P.OSes - [embedded,nativent,msdos,wii,win16,atari,macos,palmos,symbian];
  21. if Defaults.CPU=jvm then
  22. P.OSes := P.OSes - [java,android];
  23. T:=P.Targets.AddUnit('gd.pas');
  24. P.ExamplePath.Add('examples');
  25. P.Targets.AddExampleProgram('gdtestcgi.pp');
  26. P.Targets.AddExampleProgram('gdtest.pp');
  27. P.Sources.AddExampleFiles('examples/*',P.Directory,false,'.');
  28. {$ifndef ALLPACKAGES}
  29. Run;
  30. end;
  31. end.
  32. {$endif ALLPACKAGES}