Update the README, fix CMake version requirement

This commit is contained in:
Přemysl Eric Janouch 2013-06-09 00:29:57 +02:00
parent f2ec1cf5b3
commit 4520120930
2 changed files with 14 additions and 1 deletions

View File

@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 2.8.4) cmake_minimum_required (VERSION 2.8.5)
project (sensei-raw-ctl C) project (sensei-raw-ctl C)
set (project_VERSION "1.0") set (project_VERSION "1.0")

13
README
View File

@ -4,8 +4,19 @@ This program makes it possible to change the configuration of your SteelSeries
Sensei Raw mouse from within Linux, *BSD or any other POSIX-compatible system Sensei Raw mouse from within Linux, *BSD or any other POSIX-compatible system
supported by libusb. supported by libusb.
Run `sensei-raw-ctl --help' or `man sensei-raw-ctl' for usage information.
If you don't fancy command line tools, there's also a basic GTK+ frontend
available. On Ubuntu and its derivates, you should be able to find it in your
System Settings.
Installation Installation
============ ============
Build dependencies: cmake >= 2.8.5, help2man, libusb >= 1.0,
gtk+ >= 3.0 (optional)
$ git clone git://github.com/pjanouch/sensei-raw-ctl.git
$ cd sensei-raw-ctl
$ mkdir build $ mkdir build
$ cd build $ cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr $ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
@ -15,6 +26,8 @@ Note that there's no "make uninstall" and the GUI needs to be installed in the
right location to work correctly. right location to work correctly.
If you don't want the GUI frontend, append -DBUILD_GUI=NO to the cmake command. If you don't want the GUI frontend, append -DBUILD_GUI=NO to the cmake command.
The GUI also isn't going to be built if you don't have the GTK+ 3 development
packages installed, if your distribution has any.
For Debian-based distros, you can do the following instead of the last step: For Debian-based distros, you can do the following instead of the last step:
$ cpack -G DEB $ cpack -G DEB