From 16f44833f628e656f34def217f28c2dc08006d11 Mon Sep 17 00:00:00 2001 From: nginn Date: Thu, 24 Dec 2015 03:17:53 +0300 Subject: [PATCH] basic readme --- installers/deb_package_build/readme.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/installers/deb_package_build/readme.md b/installers/deb_package_build/readme.md index e69de29b..4d9a8722 100644 --- a/installers/deb_package_build/readme.md +++ b/installers/deb_package_build/readme.md @@ -0,0 +1,20 @@ +To prepare your environment for building .deb package install instruments:
+`sudo apt-get install build-essential devscripts debhelper`
+
+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`
+2) copy debian directory in there:
+`cp -r debian/ build_dir/`
+3) change directory:
+`cd build_dir/`
+4) run package build:
+`debuild -us -uc`
+5) install resulting package:
+`sudo dpkg -i ../bench_0.92_amd64.deb`
+Please note that name of package contains your architecture so for 32-bit machines name will differ.
+
+Current state: runs without problems on all Ubuntu versions installing bench in `/usr/share/python/bench/bin/bench`. Fails on Debian 8 with version format conflict. + +Useful links: +[Introduction to Debian Packaging](https://wiki.debian.org/IntroDebianPackaging#Step_3:_Add_the_Debian_packaging_files)