makedeb
author viric <viriketo@gmail.com>
Mon, 18 Jul 2011 22:48:54 +0200
branchqueuelimit
changeset 293 bb87d5e7c466
parent 212 0bd944d8babf
permissions -rwxr-xr-x
Closing this branch, where I wrote bad code about adding the proper handling of queue limits by blocking clients.

#!/bin/sh

# This should create a debian package. First try. Never done before!

version=0.5.4

make install PREFIX=deb/usr
cd deb

# data.tar.gz
tar c --owner root --group root -v -z -f pkg/data.tar.gz usr

# control.tar.gz
find usr/  -type f | xargs md5sum > pkg/DEBIAN/md5sums

dpkg -b pkg

mv pkg.deb ts_${version}_i386.deb