aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-11-19 23:09:12 +0000
committerlloyd <[email protected]>2009-11-19 23:09:12 +0000
commit5b4da417eafdfde3a8f1bf66fc4b6c680de3ea4b (patch)
tree01ba72316321afcc76e1b9b3b8c8c5d5a129c2f1
parent23a86df38c11918997732aa2cb9ffc194a59d07a (diff)
Add the first bits of support for packaging botan with InnoSetup.
Untested, almost certainly doesn't work.
-rwxr-xr-xconfigure.py3
-rw-r--r--src/build-data/botan.iss.in17
2 files changed, 19 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index 3e95546a5..668d03986 100755
--- a/configure.py
+++ b/configure.py
@@ -1102,7 +1102,8 @@ def setup_build(build_config, options, template_vars):
for (template, sink) in [('buildh.in', 'build.h'),
('botan-config.in', 'botan-config'),
('botan.pc.in', build_config.pkg_config_file()),
- ('botan.doxy.in', 'botan.doxy')]:
+ ('botan.doxy.in', 'botan.doxy'),
+ ('botan.iss.in', 'botan.iss')]:
templates_to_proc[os.path.join(options.build_data, template)] = \
os.path.join(build_config.build_dir, sink)
diff --git a/src/build-data/botan.iss.in b/src/build-data/botan.iss.in
new file mode 100644
index 000000000..4d8b10dc2
--- /dev/null
+++ b/src/build-data/botan.iss.in
@@ -0,0 +1,17 @@
+; A script for packaging botan with InnoSetup
+
+[Setup]
+AppName=Botan
+AppVerName=Botan %{version}
+DefaultDirName={pf}\botan
+DefaultGroupName=botan
+
+AppCopyright=Copyright (C) 1999-2009 Jack Lloyd and others
+
+SolidCompression=yes
+
+; Todo - add [Types] and select 'user' / 'developer' installs
+
+[Files]
+Source: "libbotan.lib"; DestDir: "{app}
+Source: "build\lib\botan\*" DestDir: "{app}\botan"