fpmake.pp 862 B

123456789101112131415161718192021222324252627282930313233343536
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. Var
  6. T : TTarget;
  7. P : TPackage;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('libvlc');
  13. P.ShortName := 'lvlc';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.OSes := [win32, win64, linux, freebsd];
  18. P.Dependencies.Add('fcl-base');
  19. P.Version:='3.3.1';
  20. P.License := 'LGPL with modification';
  21. P.HomepageURL := 'www.freepascal.org';
  22. P.Email := '[email protected]';
  23. P.Description := 'VLC library (version 2 or higher) interface and component.';
  24. T:=P.Targets.AddUnit('src/libvlc.pp',[linux,win32,win64]);
  25. T:=P.Targets.AddUnit('src/vlc.pp',[linux,win32,win64]);
  26. with T.Dependencies do
  27. begin
  28. AddUnit('libvlc');
  29. end;
  30. {$ifndef ALLPACKAGES}
  31. Run;
  32. end;
  33. end.
  34. {$endif}