Update build instructions

[skip ci]
reverse-scroll
nirenjan 2021-09-16 23:23:06 -07:00
parent e8abbd0374
commit 4f427b2ebe
1 changed files with 13 additions and 3 deletions

View File

@ -21,14 +21,15 @@ Build has been tested on the following operating systems (x86-64 only):
* libevdev (on Linux) * libevdev (on Linux)
* pkg-config * pkg-config
* python3 (3.6 or greater) * python3 (3.6 or greater)
* git (not required for builds, but necessary to clone the repository)
### Installation instructions ### Installation instructions
| Platform | Install instructions | | Platform | Install instructions |
| -------- | -------------------- | | -------- | -------------------- |
| Ubuntu | `sudo apt-get install automake autoconf gettext autopoint libhidapi-dev libevdev-dev libtool libusb-1.0-0-dev pkg-config python3` | | Ubuntu | `sudo apt-get install automake autoconf gettext autopoint libhidapi-dev libevdev-dev libtool libusb-1.0-0-dev pkg-config python3 git` |
| MacOS + Homebrew | `brew install automake autoconf gettext hidapi libtool libusb pkg-config python3` | | MacOS + Homebrew | `brew install automake autoconf gettext hidapi libtool libusb pkg-config python3 git` |
| Arch Linux | `pacman -S base-devel libusb hidapi libevdev python` | | Arch Linux | `pacman -S base-devel libusb hidapi libevdev python git` |
## Optional Packages ## Optional Packages
@ -43,7 +44,16 @@ You will also need the `cmocka` package to run the unit tests.
# Installation Instructions # Installation Instructions
1. Clone the repository 1. Clone the repository
```
git clone https://github.com/nirenjan/x52pro-linux.git
```
2. Run autogen.sh 2. Run autogen.sh
```
cd ./x52pro-linux
./autogen.sh
```
3. Run the following commands: 3. Run the following commands:
``` ```
./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc