summaryrefslogtreecommitdiff
path: root/samples/example-thp-package.cfg
blob: e7e410c9a860d20d665094ac632376b9c5c57999 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
format_version = 1

package_name = "test_package"
package_version = "0.0.1-1"
package_version_tuple = [0,0,1,1]
# A list of tuples (file_relative_path, is_config)
files = [ ("file1", False),
          ("file2", False),
          ("directory/file3", True) ]

additional_files = [ "add_file1", "add_file2" ]
install_order = 50
options = { "cycle-install" : False }
platform = { "os" : "GNU/Linux",
             "arch" : "x86" }
require_features = [ "pythonscripts" ]
require_packages = []
scripts = { "python2" : 
              [ ["script1.py", ["preinst" ]],
                ["script2.py", ["postinst"]] ]
          }