X-Git-Url: http://git.indexdata.com/?p=idzorba-moved-to-github.git;a=blobdiff_plain;f=debian%2Frules;h=3aa11f3adf5f167097fd18622b42b140c07db3a0;hp=44c0e7df4c79804ea887d63696cdaef7176a1d8f;hb=fc5778eec8824ab5d99f7ec2648d700449fab205;hpb=13362163572977e516550ac3a6b7aae7aa3835cb diff --git a/debian/rules b/debian/rules index 44c0e7d..3aa11f3 100755 --- a/debian/rules +++ b/debian/rules @@ -2,13 +2,23 @@ export DH_VERBOSE=1 %: - dh $@ --without python-support + dh $@ --without python-support \ + --parallel \ + -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 CMAKE_INSTALL_PREFIX=/opt/idzorba \ -D ZORBA_SUPPRESS_SWIG:BOOL=ON \ .. + +# Don't run tests. They fail +override_dh_auto_test: +