From: Adam Dickmeiss Date: Thu, 13 Nov 2014 13:50:13 +0000 (+0100) Subject: Build zorba in tmp X-Git-Tag: v3.0.1~6 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=8518ab5df8245da4890cc4fb9167161574e70c0f;p=idzorba-moved-to-github.git Build zorba in tmp --- diff --git a/debian/rules b/debian/rules index f67c581..e8673ca 100755 --- a/debian/rules +++ b/debian/rules @@ -4,17 +4,16 @@ export DH_VERBOSE=1 %: dh $@ --without python-support \ --parallel \ - -Dzorba-3.0 -Bzorba-3.0/build - -override_dh_clean: - rm -fr zorba-3.0 - rm -f zorba-3.0.tar.gz - dh_clean + -Dtmp/zorba-3.0 -Btmp/zorba-3.0/build +override_dh_auto_clean: + rm -fr tmp + override_dh_auto_configure: - wget http://ftp.indexdata.dk/pub/support/zorba-3.0.tar.gz - tar zxf zorba-3.0.tar.gz - cd zorba-3.0; mkdir build; cd build; cmake \ + mkdir -p tmp + cd tmp; wget http://ftp.indexdata.dk/pub/support/zorba-3.0.tar.gz + cd tmp; tar zxf zorba-3.0.tar.gz + cd tmp/zorba-3.0; mkdir build; cd build; cmake \ -Wno-dev \ -D CMAKE_INSTALL_PREFIX=/opt/zorba \ -D ZORBA_SUPPRESS_SWIG:BOOL=ON \