[med-svn] r5737 - trunk/packages/bowtie/trunk/debian
Andreas Tille
tille at alioth.debian.org
Sat Jan 29 11:24:32 UTC 2011
Author: tille
Date: 2011-01-29 11:24:31 +0000 (Sat, 29 Jan 2011)
New Revision: 5737
Added:
trunk/packages/bowtie/trunk/debian/get-orig-source
Modified:
trunk/packages/bowtie/trunk/debian/rules
Log:
Added get-orig-source
Added: trunk/packages/bowtie/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/bowtie/trunk/debian/get-orig-source (rev 0)
+++ trunk/packages/bowtie/trunk/debian/get-orig-source 2011-01-29 11:24:31 UTC (rev 5737)
@@ -0,0 +1,19 @@
+#!/bin/sh
+# script to download and repack source package of bowtie
+# this is needed to remove a copy of zlib
+
+PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
+VERSION=`uscan --verbose --force-download | \
+ grep "Newest version on remote site is .* local version is .*" | \
+ head -n 1 | \
+ sed "s/Newest version on remote site is \([-0-9.]\+\),.*/\1/"`
+
+mkdir -p ../tarballs
+cd ../tarballs
+
+UPSTREAMDIR=${PKG}-${VERSION}
+unzip ../"${UPSTREAMDIR}-src.zip"
+
+GZIP="--best --no-name" tar -czf "$PKG"_"$VERSION".orig.tar.gz "${UPSTREAMDIR}"
+rm -rf "${UPSTREAMDIR}"
+
Modified: trunk/packages/bowtie/trunk/debian/rules
===================================================================
--- trunk/packages/bowtie/trunk/debian/rules 2011-01-29 11:04:28 UTC (rev 5736)
+++ trunk/packages/bowtie/trunk/debian/rules 2011-01-29 11:24:31 UTC (rev 5737)
@@ -14,3 +14,6 @@
bowtie/build:
$(MAKE) allall
+
+get-orig-source:
+ . debian/get-orig-source
More information about the debian-med-commit
mailing list