: bharatvaj/forwarder

commit 406cbdd6efec1a43aa07f3fb5021546f93ae2121
parent 56307addd55e339d9152940a83322bf7d07b79bc
Author: Goutham S M <gouthamsm97@gmail.com>
Date: Thu, 14 Feb 2019 14:36:30 +0530

Modified depinstall.sh
1 file changed, 12 insertions(+), 2 deletions(-)
M
depinstall.sh
|
14
++++++++++++--
diff --git a/depinstall.sh b/depinstall.sh
@@ -8,8 +8,19 @@ install() {
     cd deps/$str && cmake -DBUILD_SHARED_LIBS=ON . && make && sudo make install && cd ..
 }
 
+#fixme support for arch
 apt install bluez bluz-tools bluez-hcidump build-essential libmnl0 libmnl-dev cmake make
+if [ $? -neq 0 ]; then
+	sudo apt install wget
+	wget http://www.kernel.org/pub/linux/bluetooth/bluez-5.50.tar.xz
+	tar -xvf Downloads/bluez-5.50.tar.xz
+	sudo apt install libdbus-1-dev libudev-dev libical-dev libbluetooth-dev
+	cd bluez-5.50/ && ./configure && make && sudo make install
+fi
+
 install https://github.com/bmegli/wifi-scan
 install https://github.com/bharatvaj/clog
 install https://github.com/bharatvaj/libcomm
-install https://bitbucket.org/bharatvaj/forwarder-
\ No newline at end of file
+install https://bitbucket.org/solo-1/forwarder
+install https://bitbucket.org/solo-1/left_initiator
+install https://bitbucket.org/solo-1/right_initiator