mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-02 15:39:26 +01:00
35 lines
573 B
ObjectPascal
35 lines
573 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('oggvorbis');
|
|
{$ifdef ALLPACKAGES}
|
|
P.Directory:='oggvorbis';
|
|
{$endif ALLPACKAGES}
|
|
P.Version:='2.2.2-0';
|
|
P.SourcePath.Add('src');
|
|
// P.Dependencies.Add('x11');
|
|
|
|
T:=P.Targets.AddUnit('ogg.pas');
|
|
T:=P.Targets.AddUnit('vorbis.pas');
|
|
with T.Dependencies do
|
|
begin
|
|
AddUnit('ogg');
|
|
end;
|
|
|
|
{$ifndef ALLPACKAGES}
|
|
Run;
|
|
end;
|
|
end.
|
|
{$endif ALLPACKAGES}
|