Add Ubuntu Vivid; remove saucy
[idzorba-moved-to-github.git] / debian / rules
1 #!/usr/bin/make -f
2 export DH_VERBOSE=1
3
4 %:
5         dh $@ --without python-support \
6                 --parallel \
7                 -Dtmp/zorba-3.0 -Btmp/zorba-3.0/build
8
9 override_dh_auto_clean:
10         rm -fr tmp
11         
12 override_dh_auto_configure:
13         mkdir -p tmp
14         cd tmp; wget http://ftp.indexdata.dk/pub/support/zorba-3.0.tar.gz
15         cd tmp; tar zxf zorba-3.0.tar.gz
16         cd tmp/zorba-3.0; mkdir build; cd build; cmake \
17                 -Wno-dev \
18                 -D CMAKE_INSTALL_PREFIX=/opt/idzorba \
19                 -D ZORBA_SUPPRESS_SWIG:BOOL=ON \
20                 ..
21
22 # Don't run tests. They fail
23 override_dh_auto_test:
24