summaryrefslogtreecommitdiff
path: root/packages/lua/fpmake.pp
diff options
context:
space:
mode:
authormarco <marco@3ad0048d-3df7-0310-abae-a5850022a9f2>2008-01-27 10:52:27 +0000
committermarco <marco@3ad0048d-3df7-0310-abae-a5850022a9f2>2008-01-27 10:52:27 +0000
commit9e68103ec1551538b7d88e953caf17ec1cf52652 (patch)
treeadc0a83a7101415337eb689d73716aa58deb524e /packages/lua/fpmake.pp
parentcd9bfc82cf6e02449a70c4426a1ede98c6c4d811 (diff)
downloadfpc-9e68103ec1551538b7d88e953caf17ec1cf52652.tar.gz
* lua moved
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@10031 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/lua/fpmake.pp')
-rw-r--r--packages/lua/fpmake.pp40
1 files changed, 40 insertions, 0 deletions
diff --git a/packages/lua/fpmake.pp b/packages/lua/fpmake.pp
new file mode 100644
index 0000000000..f0ab053ee0
--- /dev/null
+++ b/packages/lua/fpmake.pp
@@ -0,0 +1,40 @@
+{$ifndef ALLPACKAGES}
+{$mode objfpc}{$H+}
+program fpmake;
+
+uses fpmkunit;
+
+Var
+ P : TPackage;
+ T : TTarget;
+begin
+ With Installer do
+ begin
+{$endif ALLPACKAGES}
+
+ P:=AddPackage('lua');
+{$ifdef ALLPACKAGES}
+ P.Directory:='lua';
+{$endif ALLPACKAGES}
+ P.Version:='2.0.0';
+ P.SourcePath.Add('src');
+// P.Dependencies.Add('x11');
+
+ T:=P.Targets.AddUnit('lauxlib.pas');
+ with T.Dependencies do
+ begin
+ AddUnit('lua');
+ end;
+ T:=P.Targets.AddUnit('lualib.pas');
+ with T.Dependencies do
+ begin
+ AddUnit('lua');
+ end;
+ T:=P.Targets.AddUnit('lua.pas');
+
+
+{$ifndef ALLPACKAGES}
+ Run;
+ end;
+end.
+{$endif ALLPACKAGES}