2
0

fpmake.pp 754 B

123456789101112131415161718192021222324252627282930313233343536
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses {$ifdef unix}cthreads,{$endif} fpmkunit;
  5. Var
  6. P : TPackage;
  7. T : TTarget;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('libpng');
  13. P.ShortName:='lpng';
  14. P.Description := 'Interface unit for libpng - working with PNG image format.';
  15. {$ifdef ALLPACKAGES}
  16. P.Directory:=ADirectory;
  17. {$endif ALLPACKAGES}
  18. P.Version:='3.3.1';
  19. P.Dependencies.Add('zlib');
  20. P.SourcePath.Add('src');
  21. P.OSes := AllUnixOSes-[qnx]+[win32,os2,emx];
  22. if Defaults.CPU=jvm then
  23. P.OSes := P.OSes - [java,android];
  24. T:=P.Targets.AddUnit('png.pp');
  25. P.NamespaceMap:='namespaces.lst';
  26. {$ifndef ALLPACKAGES}
  27. Run;
  28. end;
  29. end.
  30. {$endif ALLPACKAGES}