1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 10:22:48 +02:00

this fix the uscan --report-status error

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
Xiangfu Liu 2010-09-25 22:41:02 +08:00
parent 5e6ede15b8
commit 70466eec2a
4 changed files with 14 additions and 17 deletions

View File

@ -2,7 +2,6 @@ This Debian package is developed in a Git repository (see the Vcs-Git field
of debian/control). To build from a git checkout:
debian/rules get-orig-source VERSION=201007
mv xburst-tools_*.tar.gz ..
debian/autogen.sh
debuild

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
xburst-tools (0.0+201007-1) lucid; urgency=low
xburst-tools (201007-1) lucid; urgency=low
* Initial release, taken from commit 7b710f3 (Closes: #535429)

View File

@ -2,16 +2,20 @@
# Build a tarball from the latest upstream version, with a nice
# version number.
#
# Requires git 1.6.6 or later, GNU date, and gzip.
# Requires tar.
set -e
: ${VERSION=201007}
[ -f xburst-tools_${VERSION}.tar.bz2 ] || wget http://projects.qi-hardware.com/media/upload/xburst-tools/files/xburst-tools_${VERSION}.tar.bz2
mkdir -p get-orig-source
echo `pwd`
cd get-orig-source && tar -jxf ../xburst-tools_${VERSION}.tar.bz2
rm -rf get-orig-source/xburst-tools/debian get-orig-source/xburst-tools/.git
cd get-orig-source && tar -czf ../../xburst-tools_${VERSION}-1.orig.tar.gz xburst-tools/
rm -rf xburst-tools_${VERSION}.tar.bz2 get-orig-source
mkdir -p debian-orig-source
trap 'rm -fr debian-orig-source xburst-tools_${VERSION}.tar.bz2 || exit 1' EXIT INT TERM
[ -f xburst-tools_${VERSION}.tar.bz2 ] || \
wget http://projects.qi-hardware.com/media/upload/xburst-tools/files/xburst-tools_${VERSION}.tar.bz2
tar -jxf xburst-tools_${VERSION}.tar.bz2 -C debian-orig-source
rm -rf debian-orig-source/debian
cd debian-orig-source && tar -czf ../../xburst-tools_${VERSION}.orig.tar.gz . && cd ..
rm -fr debian-orig-source xburst-tools_${VERSION}.tar.bz2

8
debian/rules vendored
View File

@ -58,10 +58,4 @@ firmware: configure
VERSION = 201007
debiandir_SQ = $(subst ','\'',$(dir $(lastword $(MAKEFILE_LIST))))
get-orig-source:
[ -f xburst-tools_$(VERSION).tar.bz2 ] || wget \
http://projects.qi-hardware.com/media/upload/xburst-tools/files/xburst-tools_$(VERSION).tar.bz2
mkdir -p get-orig-source
cd get-orig-source && tar -jxf ../xburst-tools_$(VERSION).tar.bz2
rm -rf get-orig-source/xburst-tools/debian get-orig-source/xburst-tools/.git
cd get-orig-source && tar -czf ../../xburst-tools_0.0+$(VERSION).orig.tar.gz .
rm -rf xburst-tools_$(VERSION).tar.bz2 get-orig-source
VERSION='$(VERSION)' sh '$(debiandir_SQ)'get-orig-source.sh