|
| 1 | +%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*- |
| 2 | +%% |
| 3 | +{variables, [ |
| 4 | + {package_name, "package_name"}, |
| 5 | + {package_install_name, "package_install_name"}, |
| 6 | + {package_install_user, "package_install_user"}, |
| 7 | + {package_install_user_desc, "package_install_user_desc"}, |
| 8 | + {package_install_group, "package_install_group"}, |
| 9 | + {package_replacement_line, "{{package_replacement_line_debian}}"}, |
| 10 | + {package_conflicts_line, "{{package_conflicts_line_debian}}"}, |
| 11 | + {vendor_name, "vendor_name"}, |
| 12 | + {vendor_url, "vendor_url"}, |
| 13 | + {vendor_contact_name, "vendor_contact_name"}, |
| 14 | + {vendor_contact_email, "vendor_contact_email"}, |
| 15 | + {copyright, "copyright"}, |
| 16 | + {license_type, "license_type"}, |
| 17 | + {license_full_text, ""}, |
| 18 | + {bin_or_sbin, "bin"}, |
| 19 | + |
| 20 | + %% Platform Specific Settings |
| 21 | + {platform_bin_dir, "/usr/{{bin_or_sbin}}"}, |
| 22 | + {platform_data_dir, "/var/lib/{{package_install_name}}"}, |
| 23 | + {platform_etc_dir, "/etc/{{package_install_name}}"}, |
| 24 | + {platform_base_dir, "/usr/lib/{{package_install_name}}"}, |
| 25 | + {platform_lib_dir, "/usr/lib/{{package_install_name}}/lib"}, |
| 26 | + {platform_log_dir, "/var/log/{{package_install_name}}"} |
| 27 | + ] |
| 28 | +}. |
| 29 | +{template, "Makefile", "Makefile"}. |
| 30 | +{template, "compat", "compat"}. |
| 31 | +{template, "control", "control"}. |
| 32 | +{template, "copyright", "copyright"}. |
| 33 | +{template, "dirs", "dirs"}. |
| 34 | +{template, "install", "install"}. |
| 35 | +{template, "postinst", "postinst"}. |
| 36 | +{template, "postrm", "postrm"}. |
| 37 | +{template, "rules", "rules"}. |
| 38 | +{template, "vars.config", "vars.config"}. |
| 39 | +{template, "init.script", "{{package_name}}.{{package_install_name}}.init"}. |
| 40 | +{template, "package.service", "{{package_name}}.{{package_install_name}}.service"}. |
| 41 | +{template, "package.manpages", "{{package_name}}.manpages"}. |
0 commit comments