1234567891011121314151617181920212223242526272829303132333435363738 |
- {$ifndef ALLPACKAGES}
- {$mode objfpc}{$H+}
- program fpmake;
- uses fpmkunit;
- Var
- P : TPackage;
- T : TTarget;
- begin
- With Installer do
- begin
- {$endif ALLPACKAGES}
- P:=AddPackage('libgd');
- P.ShortName:='lgd';
- P.Description := 'Interface unit for library libgd - image processing';
- {$ifdef ALLPACKAGES}
- P.Directory:=ADirectory;
- {$endif ALLPACKAGES}
- P.Version:='3.3.1';
- P.SourcePath.Add('src');
- P.OSes := P.OSes - [embedded,nativent,msdos,wii,win16,atari,macos,palmos,symbian];
- if Defaults.CPU=jvm then
- P.OSes := P.OSes - [java,android];
- T:=P.Targets.AddUnit('gd.pas');
- P.ExamplePath.Add('examples');
- P.Targets.AddExampleProgram('gdtestcgi.pp');
- P.Targets.AddExampleProgram('gdtest.pp');
- P.Sources.AddExampleFiles('examples/*',P.Directory,false,'.');
- {$ifndef ALLPACKAGES}
- Run;
- end;
- end.
- {$endif ALLPACKAGES}
|