1234567891011121314151617181920212223242526272829303132333435363738394041 |
- {$ifndef ALLPACKAGES}
- {$mode objfpc}{$H+}
- program fpmake;
- uses fpmkunit;
- Var
- P : TPackage;
- T : TTarget;
- begin
- With Installer do
- begin
- {$endif ALLPACKAGES}
- P:=AddPackage('gdbm');
- {$ifdef ALLPACKAGES}
- P.Directory:=ADirectory;
- {$endif ALLPACKAGES}
- P.Version:='2.7.1';
- P.Author := 'Library: GNU, header: Michael van Canneyt';
- P.License := 'Library: GPL2 (or later?), header: LGPL with modification, ';
- P.HomepageURL := 'www.freepascal.org';
- P.Email := '';
- P.Description := 'GNU dbm is a set of database routines that use extensible hashing.';
- P.NeedLibC:= true; // true for headers that indirectly link to libc?
- P.OSes := AllUnixOSes - [qnx];
- P.SourcePath.Add('src');
- T:=P.Targets.AddUnit('gdbm.pp');
- P.ExamplePath.Add('examples');
- P.Targets.AddExampleProgram('testgdbm.pp');
- P.Targets.AddExampleProgram('testgdbm2.pp');
- {$ifndef ALLPACKAGES}
- Run;
- end;
- end.
- {$endif ALLPACKAGES}
|