forked from void-linux/void-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template
27 lines (25 loc) · 822 Bytes
/
template
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
27
# Template file for 'ddcutil'
pkgname=ddcutil
version=1.0.1
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libdrm-devel libgudev-devel libusb-devel libXrandr-devel"
depends="i2c-tools"
short_desc="Query and change monitor settings using DDC/CI and USB"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-2.0-or-later"
homepage="http://www.ddcutil.com"
distfiles="https://github.com/rockowitz/ddcutil/archive/v${version}.tar.gz"
checksum=348495de551f3da390639459d42f33a59554b8648dde3294279ed6d11bf0e2ef
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" libexecinfo-devel musl-legacy-compat"
LDFLAGS="-lexecinfo"
post_extract() {
sed -i -e "/AM_CFLAGS += -Wpedantic/d" src/app_sysenv/Makefile.am
}
;;
esac
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}