summaryrefslogtreecommitdiff
path: root/repo/ddcutil/ddcutil.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-27 23:09:07 +0100
committerdavidovski <david@davidovski.xyz>2022-06-27 23:09:07 +0100
commitf6332a43c35387c4a2dea1746be5fd092890ae0e (patch)
treed6599f63de04096f3fc21a98e0b3bb39d55a3531 /repo/ddcutil/ddcutil.xibuild
parentf13e0cac13f90f7f57bce3b26b2e6383de6e4ad2 (diff)
added lf and iptables
Diffstat (limited to 'repo/ddcutil/ddcutil.xibuild')
-rw-r--r--repo/ddcutil/ddcutil.xibuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/repo/ddcutil/ddcutil.xibuild b/repo/ddcutil/ddcutil.xibuild
new file mode 100644
index 0000000..457c922
--- /dev/null
+++ b/repo/ddcutil/ddcutil.xibuild
@@ -0,0 +1,25 @@
+#!/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.2.2
+SOURCE="https://github.com/rockowitz/ddcutil/archive/v$PKG_VER.tar.gz"
+
+prepare() {
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+