diff --git a/README.md b/README.md index 03545bc..50ca501 100644 --- a/README.md +++ b/README.md @@ -55,10 +55,10 @@ We can install the hidapi.dll in the system or ensure that a copy of the file is Linux ----- -To build the application, and run it, `libusb-1.0` and `libusb-1.0-dev` libraries must be installed in you system. For example, in Debian based systems do the following in a terminal. +To build the application, and run it, `libudev-dev, `libusb-1.0` and `libusb-1.0-dev` libraries must be installed in you system. For example, in Debian based systems do the following in a terminal. ``` -$ sudo apt-get install libusb-1.0-0-dev +$ sudo apt-get install libusb-1.0-0-dev libudev-dev ``` This installed the development files. Now install the binary library. diff --git a/build.sh b/build.sh index ef40276..5a7eb37 100755 --- a/build.sh +++ b/build.sh @@ -8,7 +8,7 @@ echo "Checking for git..." command -v git >/dev/null 2>&1 || { echo >&2 "Git is required and is not installed. Aborting."; exit 1; } echo "Fetching latest version of hidapi..." -git clone git://github.com/signal11/hidapi.git +git clone https://github.com/signal11/hidapi.git echo "Building hidapi..." make --directory=hidapi/linux -f Makefile-manual