fpc/packages/unzip/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

34 lines
606 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('unzip');
{$ifdef ALLPACKAGES}
P.Directory:='unzip';
{$endif ALLPACKAGES}
P.Version:='2.2.2-0';
P.SourcePath.Add('src');
T:=P.Targets.AddUnit('unzip51g.pp');
with T.Dependencies do
begin
AddUnit('ziptypes');
end;
T:=P.Targets.AddUnit('ziptypes.pp');
T:=P.Targets.AddUnit('unzipdll.pp',[emx,os2]);
{$ifndef ALLPACKAGES}
Run;
end;
end.
{$endif ALLPACKAGES}