From 930796aebb51100dc9e4999d12779e5a94b03e65 Mon Sep 17 00:00:00 2001 From: nginn Date: Sun, 27 Dec 2015 18:24:15 +0300 Subject: [PATCH] added acrhive instructions --- installers/deb_package_build/readme.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/installers/deb_package_build/readme.md b/installers/deb_package_build/readme.md index 6c8d7f52..533fda60 100644 --- a/installers/deb_package_build/readme.md +++ b/installers/deb_package_build/readme.md @@ -6,18 +6,18 @@ To prepare your environment for building .deb package install instruments:
This build uses dh-virtualenv. For installation please follow the [tutorial] (http://dh-virtualenv.readthedocs.org/en/0.10/tutorial.html) To build debian package from scratch:
-1) make working directory (basically with any name) near archive bench_0.92.orig.tar.gz:
-`mkdir build_dir`
+1) unpack archive bench_0.92.orig.tar.gz:
+`tar -xf bench_0.92.orig.tar.gz`
2) copy debian directory in there:
-`cp -r debian/ build_dir/`
+`cp -r debian/ bench_0.92/`
3) change directory:
-`cd build_dir/`
+`cd bench_0.92/`
4) run package build:
-`debuild -us -uc`
+`dpkg-buildpackage -us -uc`
5) package is: `../bench_0.92_amd64.deb`

If you don't have `gdebi` installed, first you need to run:
-`sudo apt-get install gdebi`
+`sudo apt-get install gdebi-core`
To install resulting package with all it's dependencies:
`sudo gdebi ../bench_0.92_amd64.deb`
Please note that name of package contains your architecture so for 32-bit machines name will differ.