dpi-files
This file contains all information about the package.
-
Structure:
-
[SETUP]
- This part contains the basic information about the package, such as the directoy of the source, the name of the package, the ouput directory, the name of the control-file and the name of the postinst-file
-
[INSTALL]
- This part contains the information about which files and directories are in the package and the location where they will be installed into
-
[CODE]
- This part contains additional bash code that will be executed after the directory structure has been created and code that will be executed after the package has been built
-
[SETUP]
-
Syntax
-
[SETUP]
- ${identifier}="${value}";
-
[INSTALL]
- Source: "${src}"; Excludes: "{${exc},}"; Dest: "${dest}";
-
[CODE]
- bash code
-
[SETUP]
-
Examples:
-
[SETUP]
- PackageName="bla.deb";
-
[INSTALL]
- Source: "src/lab/*"; Excludes: "*.txt,*.dpi"; Dest: "/usr/lib/lab";
-
[CODE]
- echo "normal bash-code"
-
[SETUP]