fc91bd49768df525896cb3cd65146d55bca95a59
[projects.git] / debian / eibd.prebuild
1 #!/bin/bash
2 set -e
3
4 # Quelle: https://www.meintechblog.de/2014/06/knx-eib-gateway-in-fhem-einbinden/
5
6
7 wget --no-check-certificate http://www.auto.tuwien.ac.at/~mkoegler/pth/pthsem_2.0.8.tar.gz
8 tar xf pthsem_2.0.8.tar.gz
9 pushd pthsem-2.0.8 >/dev/null
10         ./configure --prefix=$HOME/projects/debian/tmp/usr
11         make
12 popd >/dev/null
13
14 wget --no-check-certificate http://www.auto.tuwien.ac.at/~mkoegler/eib/bcusdk_0.0.5.tar.gz
15 tar xf bcusdk_0.0.5.tar.gz
16 cp ~/projects/eibd/configure bcusdk-0.0.5/
17 pushd bcusdk-0.0.5
18         ./configure --with-pth=subdir:$HOME/build/pthsem-2.0.8 --without-pth-test --enable-onlyeibd --enable-eibnetip --enable-eibnetiptunnel --enable-eibnetipserver --enable-tpuarts --prefix=$HOME/projects/debian/tmp/usr
19 popd >/dev/null
20
21