Change Details
debian/README.source |
2 | 2 | of debian/control). To build from a git checkout: |
3 | 3 | |
4 | 4 | debian/rules get-orig-source VERSION=201007 |
5 | | mv xburst-tools_*.tar.gz .. |
6 | 5 | debian/autogen.sh |
7 | 6 | debuild |
8 | 7 | |
debian/changelog |
1 | | xburst-tools (0.0+201007-1) lucid; urgency=low |
| 1 | xburst-tools (201007-1) lucid; urgency=low |
2 | 2 | |
3 | 3 | * Initial release, taken from commit 7b710f3 (Closes: #535429) |
4 | 4 | |
debian/get-orig-source.sh |
2 | 2 | # Build a tarball from the latest upstream version, with a nice |
3 | 3 | # version number. |
4 | 4 | # |
5 | | # Requires git 1.6.6 or later, GNU date, and gzip. |
| 5 | # Requires tar. |
6 | 6 | |
7 | 7 | set -e |
8 | 8 | |
9 | 9 | : ${VERSION=201007} |
10 | 10 | |
11 | | [ -f xburst-tools_${VERSION}.tar.bz2 ] || wget http://projects.qi-hardware.com/media/upload/xburst-tools/files/xburst-tools_${VERSION}.tar.bz2 |
12 | | mkdir -p get-orig-source |
13 | | echo `pwd` |
14 | | cd get-orig-source && tar -jxf ../xburst-tools_${VERSION}.tar.bz2 |
15 | | rm -rf get-orig-source/xburst-tools/debian get-orig-source/xburst-tools/.git |
16 | | cd get-orig-source && tar -czf ../../xburst-tools_${VERSION}-1.orig.tar.gz xburst-tools/ |
17 | | rm -rf xburst-tools_${VERSION}.tar.bz2 get-orig-source |
| 11 | mkdir -p debian-orig-source |
| 12 | trap 'rm -fr debian-orig-source xburst-tools_${VERSION}.tar.bz2 || exit 1' EXIT INT TERM |
| 13 | |
| 14 | [ -f xburst-tools_${VERSION}.tar.bz2 ] || \ |
| 15 | wget http://projects.qi-hardware.com/media/upload/xburst-tools/files/xburst-tools_${VERSION}.tar.bz2 |
| 16 | |
| 17 | tar -jxf xburst-tools_${VERSION}.tar.bz2 -C debian-orig-source |
| 18 | rm -rf debian-orig-source/debian |
| 19 | cd debian-orig-source && tar -czf ../../xburst-tools_${VERSION}.orig.tar.gz . && cd .. |
| 20 | |
| 21 | rm -fr debian-orig-source xburst-tools_${VERSION}.tar.bz2 |
debian/rules |
58 | 58 | VERSION = 201007 |
59 | 59 | debiandir_SQ = $(subst ','\'',$(dir $(lastword $(MAKEFILE_LIST)))) |
60 | 60 | get-orig-source: |
61 | | [ -f xburst-tools_$(VERSION).tar.bz2 ] || wget \ |
62 | | http://projects.qi-hardware.com/media/upload/xburst-tools/files/xburst-tools_$(VERSION).tar.bz2 |
63 | | mkdir -p get-orig-source |
64 | | cd get-orig-source && tar -jxf ../xburst-tools_$(VERSION).tar.bz2 |
65 | | rm -rf get-orig-source/xburst-tools/debian get-orig-source/xburst-tools/.git |
66 | | cd get-orig-source && tar -czf ../../xburst-tools_0.0+$(VERSION).orig.tar.gz . |
67 | | rm -rf xburst-tools_$(VERSION).tar.bz2 get-orig-source |
| 61 | VERSION='$(VERSION)' sh '$(debiandir_SQ)'get-orig-source.sh |
Download the corresponding diff file