diff options
author | Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org> | 2020-10-02 14:44:28 +0200 |
---|---|---|
committer | David Oberhollenzer <goliath@infraroot.at> | 2020-10-02 23:00:07 +0200 |
commit | b1f747cb6f8efbfdbfa6b6714160db07f591b9d8 (patch) | |
tree | 783d65ee89f928176a045b7b4f7f8e67df0650b2 /packages | |
parent | d8be4a43c85b1daaa2daf2f4292fda31cd0bbe32 (diff) |
packaging: fix documentation
Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
Diffstat (limited to 'packages')
-rw-r--r-- | packages/README.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/README.md b/packages/README.md index 272ea46..09bebf5 100644 --- a/packages/README.md +++ b/packages/README.md @@ -35,14 +35,18 @@ Package building for Debian like distibutions is a bit tricky. In this case we want to add the codename to the version number in order to differentiate builds. +To build package for version 1.0.2, run following commands: + ``` -apt-get install devscripts build-essential libdistro-info-perl +apt-get install devscripts build-essential wget source /etc/os-release wget https://github.com/AgentD/squashfs-tools-ng/archive/v1.0.2/squashfs-tools-ng-1.0.2.tar.gz -O squashfs-tools-ng_1.0.2+$VERSION_CODENAME.orig.tar.gz tar xfz squashfs-tools-ng_1.0.2+$VERSION_CODENAME.orig.tar.gz cd squashfs-tools-ng-1.0.2 ln -s packages/debian DEBFULLNAME="$USER" DEBEMAIL="$USER@localhost" dch -v 1.0.2+$VERSION_CODENAME-1 -D $VERSION_CODENAME "Build 1.0.2 for $VERSION_CODENAME." +mk-build-deps --install --tool='apt-get --no-install-recommends --yes' debian/control +rm *.deb debuild debuild -- clean ``` |