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

50 lines
1.2 KiB
ObjectPascal

{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;
uses fpmkunit;
Var
P : TPackage;
T : TTarget;
begin
With Installer do
begin
{$endif ALLPACKAGES}
P:=AddPackage('cairo');
{$ifdef ALLPACKAGES}
P.Directory:='cairo';
{$endif ALLPACKAGES}
P.Version:='2.2.2-0';
P.Author := 'Library: University of Southern California + Red Hat Inc., header: Luiz AmXrico Pereira CXmara';
P.License := 'Library: MPL 1.1 + LGPL-2.1, header: LGPL with modification, ';
P.HomepageURL := 'www.freepascal.org';
P.Email := '';
P.Description := 'a vector graphics library with display and print output';
P.NeedLibC:= true;
P.SourcePath.Add('src');
P.Dependencies.Add('x11',AllUnixOSes);
P.Dependencies.Add('fcl-image');
T:=P.Targets.AddUnit('cairo.pp');
T:=P.Targets.AddUnit('cairoft.pp');
with T.Dependencies do
begin
AddUnit('cairo');
end;
T:=P.Targets.AddUnit('cairoxlib.pp',AllUnixOSes);
with T.Dependencies do
begin
AddUnit('cairo');
end;
T:=P.Targets.AddUnit('cairowin32.pp',AllWindowsOses);
with T.Dependencies do
AddUnit('cairo');
{$ifndef ALLPACKAGES}
Run;
end;
end.
{$endif ALLPACKAGES}