fpmake.pp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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('fcl-sound');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:=ADirectory;
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.7.1';
  17. P.Dependencies.Add('fcl-base');
  18. P.Author := 'Abou Al Montacir of the Free Pascal development team';
  19. P.License := 'LGPL with modification, ';
  20. P.HomepageURL := 'www.freepascal.org';
  21. P.Email := '';
  22. P.Description := 'Sound loading, storing and conversion parts for the Free Component Libraries (FCL), FPC''s OOP library.';
  23. P.NeedLibC:= false;
  24. P.OSes:=AllOSes-[embedded,msdos];
  25. P.SourcePath.Add('src');
  26. T:=P.Targets.AddUnit('fpwavformat.pas');
  27. T:=P.Targets.AddUnit('fpwavreader.pas');
  28. with T.Dependencies do
  29. begin
  30. AddUnit('fpwavformat');
  31. end;
  32. T:=P.Targets.AddUnit('fpwavwriter.pas');
  33. with T.Dependencies do
  34. begin
  35. AddUnit('fpwavformat');
  36. end;
  37. {$ifndef ALLPACKAGES}
  38. Run;
  39. end;
  40. end.
  41. {$endif ALLPACKAGES}