diff --git a/docs/BUILDING_DEB_PACKAGE.md b/docs/BUILDING_DEB_PACKAGE.md new file mode 100644 index 0000000..e32c39f --- /dev/null +++ b/docs/BUILDING_DEB_PACKAGE.md @@ -0,0 +1,13 @@ +# Short reference about building deb packages + +```bash +mkdir /usr/src/fastnetmon_deb +cd /usr/src/fastnetmon_deb +export PACKAGE_VERSION=1.1 +wget https://github.com/FastVPSEestiOu/fastnetmon/archive/master.tar.gz -O"fastnetmon_$PACKAGE_VERSION.orig.tar.gz" +tar -xf "fastnetmon_$PACKAGE_VERSION.orig.tar.gz" +mv fastnetmon-master "fastnetmon-$PACKAGE_VERSION" +cd "fastnetmon-$PACKAGE_VERSION" +cp packages/debian/ -R . +debuild -us -uc +```