A_OS/ports/official/base/sys/c-alsa-utils/build
2024-05-22 09:29:02 +00:00

18 lines
350 B
Bash

#!/bin/sh -e
# Fix a missing include
sed -i '/<syslog.h>/a #include <limits.h>' alsactl/utils.c
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--with-udev-rules-dir=/usr/lib/udev/rules.d \
--disable-alsaconf \
--disable-bat \
--disable-xmlto \
--disable-nls \
--disable-alsamixer
make
make DESTDIR="$1" install