modified script for debian package
[svn/Prometheus-QoS/.git] / prometheus.debian
... / ...
CommitLineData
1#!/bin/bash
2
3arch=`dpkg-architecture -qDEB_HOST_ARCH`
4version=`grep VERSION Makefile | gawk -F= '{ print $2 }'`
5package=`grep PACKAGE Makefile | gawk -F= '{ print $2 }'`
6maintainer='gandalf <gandalf@arachne.cz>'
7
8patch -Nl <debian/prometheus.patch
9
10sed -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
16dpkg-buildpackage
17
This page took 0.106658 seconds and 4 git commands to generate.