mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 22:39:27 +02:00
37 lines
630 B
ObjectPascal
37 lines
630 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');
|
|
P.ShortName:='oggv';
|
|
{$ifdef ALLPACKAGES}
|
|
P.Directory:=ADirectory;
|
|
{$endif ALLPACKAGES}
|
|
P.Version:='3.3.1';
|
|
P.SourcePath.Add('src');
|
|
P.OSes := [linux,win32,wince];
|
|
// 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}
|