瀏覽代碼

Configure installation

pull/1/head
Dejvino 4 年之前
父節點
當前提交
3cbf9cf23f
共有 2 個檔案被更改,包括 11 行新增3 行删除
  1. +9
    -2
      README.md
  2. +2
    -1
      meson.build

+ 9
- 2
README.md 查看文件

@@ -1,13 +1,20 @@
# PinePhone Toolkit
# PinePhone Toolkit (PPTK)
A collection of tools and utility apps for the PINE64 PinePhone.

## Components
### backlight
Get / Set backlight brightness.

## Building
```
$ pptk-backlight get
4
$ pptk-backlight set 6
```

## Build & Install
```
$ meson build
$ cd build
$ ninja
$ sudo ninja install
```

+ 2
- 1
meson.build 查看文件

@@ -1,2 +1,3 @@
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…
取消
儲存