Debian packages¶
The debian
directory contains instructions
for building Debian packages.
Warning
Building Debian packages will clean the source directory.
Requirements
The Makefile
requires GNU Make,
which is the default Make under Debian.
Supporteded architectures¶
Para supports the architectures officially supported by Debian 10 (“buster”) and RISC-V.
Install build and packaging tools:
sudo apt-get install build-essential debsigs dpkg gpg lintian
Install cross-compilers:
make cross-compilers
Build and sign packages:
make
Other architectures¶
Install build and packaging tools:
sudo apt-get install build-essential debsigs dpkg gpg lintian
Install the cross-compilers for the architecture in question, say, X32:
sudo apt-get install gcc-x86-64-linux-gnux32
Build and sign the package:
make dpkg signature arch=x32 triplet=x86_64-linux-gnux32
arch must be set to the name the Debian project uses to refer to the
architecture in the architecture field of the package control
file
(“x32” above). triplet must be set to the architecture, vendor, operating
system triple of the target system (“x86_64-linux-gnux32” above).