README.md: Add build instructions and requirements

This commit is contained in:
Federico Amedeo Izzo 2021-01-05 21:55:22 +01:00
parent 1a6901488d
commit 62c22c3c83
1 changed files with 21 additions and 12 deletions

View File

@ -53,6 +53,24 @@ Update database of contacts from CSV file:
Option -t enables tracing of USB protocol.
## Compilation
Whenever possible use the `dmrconfig` package provided from your Linux distribution
If you want to compile `dmrconfig`, follow these instructions:
* Install dependencies
* On Ubuntu `sudo apt install git build-essential pkg-config libusb-1.0-0-dev libudev-dev`
* On Arch Linux `sudo pacman -S git base-devel libusb`
* On Mac OS `brew install pkg-config libusb`
* Clone this repository
```
git clone https://github.com/sergev/dmrconfig
```
* Compile and install
```
make
sudo make install
```
## Permissions
On Linux, a permission to access USB device is required.
@ -75,20 +93,11 @@ To activate it, run:
Then re-attach the USB cable to the radio.
## Sources
## License
Sources are distributed freely under the terms of Apache 2.0 license.
You can download sources via GIT:
git clone https://github.com/sergev/dmrconfig
To build on Linux or Mac OS X, run:
make
make install
## Credits
DMRconfig was created by Serge Vakulenko KK6ABQ
DMRconfig was created by Serge Vakulenko KK6ABQ.
It is currently maintained by the OpenRTX developers
It is currently maintained by the OpenRTX developers.