1
0
mirror of https://github.com/Dejvino/pinephone-toolkit.git synced 2024-11-14 11:33:28 +00:00

Configure installation

This commit is contained in:
Dejvino 2020-05-30 18:15:39 +02:00
parent c7140f898b
commit 3cbf9cf23f
2 changed files with 11 additions and 3 deletions

View File

@ -1,13 +1,20 @@
# PinePhone Toolkit # PinePhone Toolkit (PPTK)
A collection of tools and utility apps for the PINE64 PinePhone. A collection of tools and utility apps for the PINE64 PinePhone.
## Components ## Components
### backlight ### backlight
Get / Set backlight brightness. Get / Set backlight brightness.
## Building ```
$ pptk-backlight get
4
$ pptk-backlight set 6
```
## Build & Install
``` ```
$ meson build $ meson build
$ cd build $ cd build
$ ninja $ ninja
$ sudo ninja install
``` ```

View File

@ -1,2 +1,3 @@
project('PinePhone Toolkit', 'c') project('PinePhone Toolkit', 'c')
executable('pptk-backlight', ['src/backlight.c']) executable('pptk-backlight', ['src/backlight.c'],
install: true, install_mode: ['rwsr-xr-x', 0, 0])