1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-11-23 21:43:14 +01:00

Add deb package build reference

This commit is contained in:
Pavel Odintsov 2015-06-02 19:43:16 +03:00
parent 00ff779059
commit b29b148df5

@ -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
```