X-Git-Url: http://git.indexdata.com/?p=idzorba-moved-to-github.git;a=blobdiff_plain;f=debian%2Frules;h=3aa11f3adf5f167097fd18622b42b140c07db3a0;hp=f67c5812b3b2e3c7cb72e11f9978214cc7190fe8;hb=fc5778eec8824ab5d99f7ec2648d700449fab205;hpb=d18e0d51b5b14edd65c33c35f67a0b5136843b2b diff --git a/debian/rules b/debian/rules index f67c581..3aa11f3 100755 --- a/debian/rules +++ b/debian/rules @@ -4,19 +4,18 @@ 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 CMAKE_INSTALL_PREFIX=/opt/idzorba \ -D ZORBA_SUPPRESS_SWIG:BOOL=ON \ ..