modified script for debian package
[svn/Prometheus-QoS/.git] / prometheus.debian
1 #!/bin/bash
2
3 arch=`dpkg-architecture -qDEB_HOST_ARCH`
4 version=`grep VERSION Makefile | gawk -F= '{ print $2 }'`
5 package=`grep PACKAGE Makefile | gawk -F= '{ print $2 }'`
6 maintainer='gandalf <gandalf@arachne.cz>'
7
8 patch -Nl <debian/prometheus.patch
9
10 sed -e "s/__ARCHITECTURE__/$arch/" \
11 -e "s/__VERSION__/$version/" \
12 -e "s/__PACKAGE__/$package/" \
13 -e "s/__MAINTAINER__/$maintainer/" \
14 debian/prometheus.control > debian/control
15
16 dpkg-buildpackage
17
This page took 0.291848 seconds and 4 git commands to generate.