mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-01 21:22:38 +02:00
30 lines
453 B
ObjectPascal
30 lines
453 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('pcap');
|
|
{$ifdef ALLPACKAGES}
|
|
P.Directory:='pcap';
|
|
{$endif ALLPACKAGES}
|
|
P.Version:='2.0.0';
|
|
P.SourcePath.Add('src');
|
|
// P.Dependencies.Add('x11');
|
|
|
|
T:=P.Targets.AddUnit('pcap.pp');
|
|
|
|
{$ifndef ALLPACKAGES}
|
|
Run;
|
|
end;
|
|
end.
|
|
{$endif ALLPACKAGES}
|