: bharatvaj/forwarder

commit ae75e8a8e6774d1d14060191a316bd38ce1435a1
parent 1860aa42f2235e9ae128ca8b6c407714fc8597a3
Author: Bharavaj H <bharatvaj@yahoo.com>
Date: Thu, 14 Feb 2019 12:01:31 +0530

Removed unused dependencies, added depinstall.sh
2 files changed, 14 insertions(+), 2 deletions(-)
M
CMakeLists.txt
|
2
--
A
depinstall.sh
|
14
++++++++++++++
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -8,12 +8,10 @@ find_package(Threads)
 add_executable(forwarder forwarder.cpp)
 
 target_include_directories(forwarder PRIVATE ${COMM_INCLUDE_LIBS})
-target_include_directories(forwarder PRIVATE crossguid)
 target_include_directories(forwarder PRIVATE include)
 
 target_link_libraries(forwarder ${COMM_LIBS})
 target_link_libraries(forwarder ${CMAKE_THREAD_LIBS_INIT})
-target_link_libraries(forwarder crossguid)
 target_link_libraries(forwarder -lbluetooth)
 target_link_libraries(forwarder -lmnl)
 target_link_libraries(forwarder /usr/local/lib/libwifi-scan.so)
diff --git a/depinstall.sh b/depinstall.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+#todo ask password firsthand
+install() {
+    git clone $1
+    #fixme
+    cd `echo ${$1##*/}` && cmake . && make && sudo make install && cd ..
+}
+
+apt install bluez bluz-tools bluez-hcidump build-essential libmnl0 libmnl-dev cmake make
+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