fpmake.pp 807 B

123456789101112131415161718192021222324252627282930313233343536373839
  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('iconvenc');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:='iconvenc';
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.2.2-0';
  17. P.Author := 'Marco van de Voort';
  18. P.License := 'Library: LGPL2 or later, header: LGPL with modification, ';
  19. P.HomepageURL := 'www.freepascal.org';
  20. P.Email := '';
  21. P.Description := 'A libiconv header translation.';
  22. P.NeedLibC:= true;
  23. P.SourcePath.Add('src');
  24. P.IncludePath.Add('src');
  25. T:=P.Targets.AddUnit('iconvenc.pas');
  26. P.ExamplePath.Add('examples');
  27. P.Targets.AddExampleProgram('iconvtest.pp');
  28. {$ifndef ALLPACKAGES}
  29. Run;
  30. end;
  31. end.
  32. {$endif ALLPACKAGES}