Browse Source

Configure installation

pull/1/head
Dejvino 4 years ago
parent
commit
3cbf9cf23f
2 changed files with 11 additions and 3 deletions
  1. +9
    -2
      README.md
  2. +2
    -1
      meson.build

+ 9
- 2
README.md 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
``` ```

+ 2
- 1
meson.build 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])

Loading…
Cancel
Save