fpmake.pp 954 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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('redis');
  13. P.ShortName:='redis';
  14. P.Author := 'Mario Ray Mahardhika';
  15. P.License := 'LGPL with modification';
  16. P.HomepageURL := 'www.freepascal.org';
  17. P.Email := '';
  18. P.Description := 'Redis interface unit.';
  19. // Keep this lis the same as fcl-net.
  20. P.OSes:=AllUnixOSes+AllWindowsOSes+AllAmigaLikeOSes+[OS2,EMX];
  21. if Defaults.CPU=jvm then
  22. P.OSes := P.OSes - [android];
  23. {$ifdef ALLPACKAGES}
  24. P.Directory:=ADirectory;
  25. {$endif ALLPACKAGES}
  26. P.Version:='3.3.1';
  27. P.Dependencies.Add('fcl-net');
  28. P.SourcePath.Add('src');
  29. T:=P.Targets.AddUnit('redis.pp');
  30. T.ResourceStrings := True;
  31. P.NamespaceMap:='namespaces.lst';
  32. {$ifndef ALLPACKAGES}
  33. Run;
  34. end;
  35. end.
  36. {$endif ALLPACKAGES}