[SCM] Packaging for getfem++ branch, experimental, updated. debian/4.2-1_exp1-5-gcb7f829
Anton Gladky
gladky.anton at gmail.com
Sat Nov 17 21:10:37 UTC 2012
The following commit has been merged in the experimental branch:
commit 213e81f0cf9bcc8888e107a08277379e0c4e47d9
Author: Anton Gladky <gladky.anton at gmail.com>
Date: Sat Nov 17 20:10:20 2012 +0100
Add repacking script.
diff --git a/debian/scripts/make_dfsg.sh b/debian/scripts/make_dfsg.sh
new file mode 100755
index 0000000..7902ad4
--- /dev/null
+++ b/debian/scripts/make_dfsg.sh
@@ -0,0 +1,19 @@
+#/!/bin/bash
+
+if [ $# -lt 1 ]
+then
+ echo Please, add the tarball-name
+ exit 1
+fi
+
+rm -rf ./tmp/
+mkdir tmp
+tar -xzvf $1 -C ./tmp/
+find ./tmp -name \*.so | xargs rm
+
+file="$1"
+file_base=${file%.orig.tar.*}
+
+file_new=$file_base+dfsg1.orig.tar.xz
+
+cd tmp; tar -cf - ./* | xz -9 -c - > ../$file_new
--
Packaging for getfem++
More information about the debian-science-commits
mailing list