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

44 lines
1.1 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('hash');
{$ifdef ALLPACKAGES}
P.Directory:='hash';
{$endif ALLPACKAGES}
P.Author := 'Free Pascal development team, Mark Adler, Jacques Nomssi Nzali';
P.License := 'LGPL with modification, ';
P.HomepageURL := 'www.freepascal.org';
P.Email := '';
P.Description := 'Several hash algorithms (MD5,CRC,Linux crypt and NTLM1).';
P.NeedLibC:= false;
P.Version:='2.2.2-0';
T:=P.Targets.AddUnit('src/md5.pp');
T:=P.Targets.AddUnit('src/sha1.pp');
T:=P.Targets.AddUnit('src/crc.pas');
T:=P.Targets.AddUnit('src/ntlm.pas');
T:=P.Targets.AddUnit('src/uuid.pas');
T:=P.Targets.AddUnit('src/unixcrypt.pas');
T.OSes:=[Linux];
T:=P.Targets.AddExampleunit('examples/mdtest.pas');
T:=P.Targets.AddExampleunit('examples/crctest.pas');
T:=P.Targets.AddExampleunit('examples/sha1test.pp');
// md5.ref
{$ifndef ALLPACKAGES}
Run;
end;
end.
{$endif ALLPACKAGES}