blob: 7149400a567507b7613accd37f4fa9c0a671ff87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;
uses fpmkunit;
Var
P : TPackage;
T : TTarget;
begin
With Installer do
begin
{$endif ALLPACKAGES}
P:=AddPackage('bzip2');
P.ShortName:='bz2';
{$ifdef ALLPACKAGES}
P.Directory:=ADirectory;
{$endif ALLPACKAGES}
P.Version:='3.1.1';
P.Author := 'Library: Julian R. Seward, header: Daniel Mantione';
// 3 clause becaue "prominent notice" is not required.
P.License := 'Library: 3 clause BSD, header: 3 clause BSD ';
P.HomepageURL := 'www.freepascal.org';
P.Email := '';
P.Description := 'BZip2 decompression unit.';
P.NeedLibC:= true;
P.OSes := P.OSes - [embedded,nativent,msdos,win16,uefi];
P.SourcePath.Add('src');
P.IncludePath.Add('src');
P.Dependencies.Add('rtl-extra');
T:=P.Targets.AddUnit('bzip2comn.pp');
T:=P.Targets.AddUnit('bzip2.pas');
with T.Dependencies do
begin
AddInclude('bzip2i386.inc',[i386],AllOSes);
AddUnit('bzip2comn');
end;
T:=P.Targets.AddUnit('bzip2stream.pp');
with T.Dependencies do
begin
AddInclude('bzip2si386.inc',[i386],AllOSes);
AddUnit('bzip2comn');
end;
T.ResourceStrings := true;
P.ExamplePath.Add('examples');
T:=P.Targets.AddExampleProgram('pasbzip.pas');
{$ifndef ALLPACKAGES}
Run;
end;
end.
{$endif ALLPACKAGES}
|