Browse code

doc: updated debian package creation

Stefan Sayer authored on 01/04/2014 10:01:02
Showing 1 changed files
... ...
@@ -215,22 +215,27 @@ How to get started with SEMS:
215 215
   applications, see the explanation of 'application' parameter in 
216 216
   sems.conf.
217 217
 
218
-Creating packages on debian (ubuntu, ...):
218
+Creating packages on debian (ubuntu, ...), here for wheezy:
219 219
 
220 220
    install debian package build tools:
221 221
    $ sudo apt-get install debhelper devscripts
222 222
 
223 223
    install dependencies:
224 224
    $  sudo apt-get install g++ make libspandsp-dev flite-dev libspeex-dev \
225
-         libssl-dev python-dev python-sip4-dev openssl sip4 libev-dev \
226
-         libmysql++-dev
225
+         libssl-dev python-dev python-sip-dev openssl libev-dev \
226
+         libmysql++-dev libevent-dev libxml2-dev libcurl4-openssl-dev
227 227
    
228 228
    get the source: 
229 229
    $ wget ftp.iptel.org/pub/sems/sems-x.y.z.tar.gz ; tar xzvf sems-x.y.z.tar.gz
230
+   or, for git master:
231
+   $ git clone git://git.sip-router.org/sems
232
+
230 233
    $ cd sems-x.y.z ; ln -s pkg/debian .
231 234
 
232 235
    set version in changelog if not correct
233 236
    $ dch -v x.y.z "SEMS x.y.z release"
237
+   or:
238
+   $ dch -b -v `git describe --always` "sems git master"
234 239
    
235 240
    build package:
236 241
    $ dpkg-buildpackage -rfakeroot -us -uc