mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-03 20:31:06 +01:00
* 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 -
29 lines
456 B
ObjectPascal
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}
|