fpmake.pp 761 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. Var
  6. P : TPackage;
  7. T : TTarget;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('libtar');
  13. P.ShortName:='ltar';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.Version:='3.3.1';
  18. P.Author := 'Stefan Heymann';
  19. P.License := 'LGPL with modification, ';
  20. P.HomepageURL := 'http://www.destructor.de/';
  21. P.Description := 'Library for handling tar-files.';
  22. P.OSes:=AllOSes-[embedded,win16,macos,palmos];
  23. if Defaults.CPU=jvm then
  24. P.OSes := P.OSes - [java,android];
  25. P.SourcePath.Add('src');
  26. T:=P.Targets.AddUnit('libtar.pp');
  27. {$ifndef ALLPACKAGES}
  28. Run;
  29. end;
  30. end.
  31. {$endif ALLPACKAGES}