crux-ports/packages/l/libao/Pkgfile

26 lines
546 B
Plaintext
Raw Normal View History

2024-03-14 15:57:22 +00:00
# Description: A Cross-platform Audio Library
# URL: https://xiph.org/ao/
# Maintainer: Alexander Zhirov
# Depends on: glibc alsa-lib pulseaudio autoconf
name=libao
version=1.2.2
release=1
source=(
https://gitlab.xiph.org/xiph/${name}/-/archive/${version}/${name}-${version}.tar.gz
libao.conf
)
build() {
cd ${name}-${version}
autoreconf -fiv
./configure --prefix=/usr --enable-alsa-mmap
make
make DESTDIR="$PKG" install
install -vDm 644 ../libao.conf -t "$PKG/etc/"
rm -rf $PKG/usr/share/doc
}