fpc/packages/libpng/fpmake.pp
joost 855cbebf19 Fixed fpmake.pp files:
* ExternalURL does not exist anymore
 * Do not add dependencies on files in other packages, add a package dependency
   on the package where the files are in instead
 * Replaced the copy of fcl-base's fpmake.pp in fcl-extra with a real one
 * Fixed some dependencies and file-names

git-svn-id: trunk@15148 -
2010-04-15 20:26:03 +00:00

29 lines
456 B
ObjectPascal

{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;
uses fpmkunit;
Var
P : TPackage;
T : TTarget;
begin
With Installer do
begin
{$endif ALLPACKAGES}
P:=AddPackage('libpng');
{$ifdef ALLPACKAGES}
P.Directory:='libpng';
{$endif ALLPACKAGES}
P.Version:='2.2.2-0';
P.Dependencies.Add('zlib');
P.SourcePath.Add('src');
T:=P.Targets.AddUnit('png.pp');
{$ifndef ALLPACKAGES}
Run;
end;
end.
{$endif ALLPACKAGES}