changed: bundle eigen3 in the original tarball for debian

brings back packages on ubuntu xenial
This commit is contained in:
Arne Morten Kvarving
2016-10-12 15:48:13 +02:00
parent 7e0cb99bad
commit 44879c94c4
3 changed files with 22 additions and 2 deletions

17
debian/mk_orig_source vendored Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
ORIGDIR=`pwd`
TOPDIR=`dirname $0`
tmp=`mktemp -d`
pushd .
cd $TOPDIR/..
git archive --prefix opm-simulators-$1/ -o $tmp/opm-simulators.tar.gz $2
cd $tmp
wget https://github.com/OPM/eigen3/archive/master.tar.gz -O eigen3-master.tar.gz
tar zxvf opm-simulators.tar.gz
cd opm-simulators-$1
tar zxvf ../eigen3-master.tar.gz
cd ..
tar zcvf $ORIGDIR/opm-simulators-$1.tar.gz opm-simulators-$1/
popd
rm $tmp -Rf