2
0

fpmake.pp 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. P.ShortName := 'icve';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.Version:='3.2.4-rc1';
  18. P.Author := 'Marco van de Voort';
  19. P.License := 'Library: LGPL2 or later, header: LGPL with modification, ';
  20. P.OSes := [beos,haiku,freebsd,darwin,iphonesim,ios,solaris,linux,aix];
  21. P.HomepageURL := 'www.freepascal.org';
  22. P.Email := '';
  23. P.Description := 'A libiconv header translation.';
  24. P.NeedLibC:= true;
  25. P.SourcePath.Add('src');
  26. P.IncludePath.Add('src');
  27. T:=P.Targets.AddUnit('iconvenc.pas');
  28. T.Dependencies.AddInclude('iconvert.inc');
  29. T:=P.Targets.AddUnit('iconvenc_dyn.pas');
  30. T.Dependencies.AddInclude('iconvert.inc');
  31. P.ExamplePath.Add('examples');
  32. P.Targets.AddExampleProgram('iconvtest.pp');
  33. {$ifndef ALLPACKAGES}
  34. Run;
  35. end;
  36. end.
  37. {$endif ALLPACKAGES}