blob: 03a55d95ccd4cc4f410475390c8004fa85db92ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/sh
NAME="ddcutil"
DESC="Query and change Linux monitor settings using DDC/CI and USB"
MAKEDEPS=" linux-headers autoconf automake libtool eudev libusb i2c-tools libxrandr glib kmod"
PKG_VER=1.3.0
SOURCE="https://github.com/rockowitz/ddcutil/archive/v$PKG_VER.tar.gz"
prepare() {
apply_patches
NOCONFIGURE=1 ./autogen.sh
}
build() {
./configure \
--prefix=/usr \
--mandir=/usr/share/man
make
}
package() {
make DESTDIR="$PKG_DEST" install
}
|