smlinux/base/libao/libao.SMBuild

36 lines
745 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libao
version=1.2.0
build=1sml
homepage="https://xiph.org/ao/"
download="https://downloads.xiph.org/releases/ao/libao-$version.tar.gz"
desc="Audio Output library"
requires="musl gcc-libs alsa-lib"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--enable-shared \
--disable-static \
--disable-pulse
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
107dde222e07f5f2aa7593e1dec2f72b01e71b9aed9f6759668a5a1ac6119de92e7317f32edbbc0f62fcb98f3fe35203217a0fb43e9fb2185a3a6319dec4b154 libao-1.2.0.tar.lz
"