aboutsummaryrefslogtreecommitdiff
path: root/packages/README.md
diff options
context:
space:
mode:
authorSébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>2020-10-02 14:42:02 +0200
committerDavid Oberhollenzer <goliath@infraroot.at>2020-10-02 23:00:07 +0200
commitd8be4a43c85b1daaa2daf2f4292fda31cd0bbe32 (patch)
tree833bee99498af452587321ce3423fc01db10463e /packages/README.md
parent4c5cf3065e583b5769a274a03c1d8782655ad718 (diff)
DEB: Add documentation in libsquashfs-dev
This patch allows to include Doxygen generated documentation to squashfs development package. Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
Diffstat (limited to 'packages/README.md')
-rw-r--r--packages/README.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/README.md b/packages/README.md
index a883cf0..272ea46 100644
--- a/packages/README.md
+++ b/packages/README.md
@@ -26,6 +26,28 @@ abuild-keygen -nai
abuild -r
```
+# DEB
+
+The [debian]() directory contains all definitions to build Debian and
+Ubuntu packages.
+
+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.
+
+```
+apt-get install devscripts build-essential libdistro-info-perl
+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."
+debuild
+debuild -- clean
+```
+
+
# PKG
[PKGBUILD]() contains all definition to build Archlinux packages.