smlinux/base/alsa-lib/alsa-lib.SMBuild

46 lines
1 KiB
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=alsa-lib
version=1.2.12
build=1sml
homepage="http://alsa-project.org"
download="http://www.alsa-project.org/files/pub/lib/alsa-lib-$version.tar.bz2"
desc="Advanced Linux Sound Architecture provides audio and MIDI functionality for Linux"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z**
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--disable-python \
--disable-static \
--disable-resmgr \
--enable-seq \
--enable-aload \
--disable-dependency-tracking \
--without-versioned
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
( cd $pkg
mv usr/share/alsa/alsa.conf usr/share/alsa/alsa.conf.new
# create a blank asound.conf.new
mkdir -p etc ; touch etc/asound.conf.new
)
mkfinalpkg
}
sha512sums="
2733045bdfb33517c27741c8cd2ff2c5901dc2dba66f0bf027b85bf40fa2fc2723123d7e1a7c4989847465cf552be68614a87cb6cc76c2b36e26f17c0ca151a7 alsa-lib-1.2.12.tar.lz
"