2
0

fpmake.pp 833 B

1234567891011121314151617181920212223242526272829303132333435
  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. {$ifdef ALLPACKAGES}
  14. P.Directory:=ADirectory;
  15. {$endif ALLPACKAGES}
  16. P.OSes := [win32, win64, linux, freebsd];
  17. P.Dependencies.Add('fcl-base');
  18. P.Version:='1.0';
  19. P.License := 'LGPL with modification';
  20. P.HomepageURL := 'www.freepascal.org';
  21. P.Email := '[email protected]';
  22. P.Description := 'VLC library (version 2 or higher) interface and component.';
  23. T:=P.Targets.AddUnit('src/libvlc.pp',[linux,win32,win64]);
  24. T:=P.Targets.AddUnit('src/vlc.pp',[linux,win32,win64]);
  25. with T.Dependencies do
  26. begin
  27. AddUnit('libvlc');
  28. end;
  29. {$ifndef ALLPACKAGES}
  30. Run;
  31. end;
  32. end.
  33. {$endif}