[Pkg-scicomp-commits] instant/trunk/debian
Johannes Ring
johannr at simula.no
Thu Oct 23 09:00:48 UTC 2008
SVN commit 3935 by johannr-guest:
debian/copyright: Added missing upstream author.
debian/rules: Updated get-orig-source target.
M +3 -1 instant/trunk/debian/copyright
M +4 -11 instant/trunk/debian/rules
--- instant/trunk/debian/copyright #3934:3935
@@ -7,6 +7,7 @@
Kent-Andre Mardal <kent-and at simula.no>
Magne Westlie <magnew at simula.no>
+ Martin Sandve Alnæs <martinal at simula.no>
Contributors:
@@ -14,7 +15,8 @@
Copyright:
- Copyright (C) 2005-2008 Kent-Andre Mardal and Magne Westlie
+ Copyright (C) 2008 Kent-Andre Mardal, Magne Westlie, and Martin
+ Sandve Alnæs
License:
--- instant/trunk/debian/rules #3934:3935
@@ -7,17 +7,10 @@
DEB_COMPRESS_EXCLUDE := .py
+USCAN_DESTDIR := $(CURDIR)
SRC_VERSION := $(shell dpkg-parsechangelog | \
sed -ne 's/^Version: \(.*\)-.*/\1/p')
-SRC_VERSION_MAJOR = `echo $(SRC_VERSION) | cut -d'.' -f1`
-SRC_VERSION_MINOR = `echo $(SRC_VERSION) | cut -d'.' -f2`
-get-orig-source: instant-$(SRC_VERSION).tar.gz
- tar zxf instant-$(SRC_VERSION).tar.gz
- mv instant instant-$(SRC_VERSION)
- GZIP=--best tar czf $(CURDIR)/../instant_$(SRC_VERSION).orig.tar.gz \
- instant-$(SRC_VERSION)
- rm -rf instant-$(SRC_VERSION) instant-$(SRC_VERSION).tar.gz
-
-instant-$(SRC_VERSION).tar.gz:
- wget http://www.fenics.org/pub/software/instant/v$(SRC_VERSION_MAJOR).$(SRC_VERSION_MINOR)/instant-$(SRC_VERSION).tar.gz
+get-orig-source:
+ uscan --force-download --verbose --destdir $(USCAN_DESTDIR) \
+ --download-version $(SRC_VERSION) --upstream-version $(SRC_VERSION)
More information about the Pkg-scicomp-commits
mailing list