mirror of
https://github.com/Dejvino/pinephone-toolkit.git
synced 2024-11-21 22:22:35 +00:00
Configure installation
This commit is contained in:
parent
c7140f898b
commit
3cbf9cf23f
11
README.md
11
README.md
@ -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
|
||||||
```
|
```
|
||||||
|
@ -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])
|
||||||
|
Loading…
Reference in New Issue
Block a user