mkdeb - Create a Debian package |
mkdeb - Create a Debian package (.deb)
mkdeb [-m | --multiarch]
Create a *.deb file according to the package name and version info found in ./deb/DEBIAN/control file
and include all file in the package found in ./deb folder. Update some of control
file's fields, eg.
Version
(increase by 1 if there is any file in the package newer than control
file), Installed-Size
...
In multiarch mode, instead of ./deb folder, it takes data from all folders in the current working directory which name is a valid Debian architecture name (eg. amd64, i386, ...), and stores temporary files in ./deb for building each architecture's package.
Mkdeb also considers mkdeb-perms.txt
file in the current working directory to set
some file attributes in the package, otherwise all file attributes are gonna be the same as on the original.
Each line in this file looks like:
<MODE> <OWNER> <GROUP> <PATH>
Where
is an octal file permission mode, 3 or 4 digits, or "-" to ignore
UID or name of the owner user
GID or name of the owner group
the file's path itself to which the attributes are applied, relative to ./deb directory.