12345678910111213141516171819202122232425262728293031323334353637 |
- {$ifndef ALLPACKAGES}
- {$mode objfpc}{$H+}
- program fpmake;
- uses fpmkunit;
- Var
- P : TPackage;
- T : TTarget;
- begin
- With Installer do
- begin
- {$endif ALLPACKAGES}
- P:=AddPackage('bzip2');
- {$ifdef ALLPACKAGES}
- P.Directory:='bzip2';
- {$endif ALLPACKAGES}
- P.Version:='2.2.2-0';
- P.SourcePath.Add('src');
- P.IncludePath.Add('src');
- T:=P.Targets.AddUnit('bzip2.pas');
- with T.Dependencies do
- begin
- AddInclude('bzip2i386.inc',[i386],AllOSes);
- end;
- P.ExamplePath.Add('examples');
- T:=P.Targets.AddExampleProgram('pasbzip.pas');
- {$ifndef ALLPACKAGES}
- Run;
- end;
- end.
- {$endif ALLPACKAGES}
|