fpmake.pp 889 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. {$ifdef ALLPACKAGES}
  22. P.Directory:=ADirectory;
  23. {$endif ALLPACKAGES}
  24. P.Version:='3.3.1';
  25. P.Dependencies.Add('fcl-net');
  26. P.SourcePath.Add('src');
  27. T:=P.Targets.AddUnit('redis.pp');
  28. T.ResourceStrings := True;
  29. P.NamespaceMap:='namespaces.lst';
  30. {$ifndef ALLPACKAGES}
  31. Run;
  32. end;
  33. end.
  34. {$endif ALLPACKAGES}