mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-07-29 20:20:33 +02:00
brightnessctl: add recipe
This commit is contained in:
17
recipes-extended/brightnessctl/brightnessctl_0.5.1.bb
Normal file
17
recipes-extended/brightnessctl/brightnessctl_0.5.1.bb
Normal file
@ -0,0 +1,17 @@
|
||||
SUMMARY = "This program allows you read and control device brightness on Linux"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=b3ad8718387309bb4fbcb4adce0d77c1"
|
||||
|
||||
SRC_URI = "git://github.com/Hummer12007/brightnessctl.git;protocol=https;branch=master"
|
||||
SRCREV = "e70bc55cf053caa285695ac77507e009b5508ee3"
|
||||
|
||||
do_compile() {
|
||||
./configure
|
||||
oe_runmake
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${libdir}/udev/rules.d ${D}${bindir}
|
||||
install -m 0755 brightnessctl ${D}${bindir}
|
||||
install -m 0644 90-brightnessctl.rules ${D}${libdir}/udev/rules.d
|
||||
}
|
Reference in New Issue
Block a user