smlinux/base/libsndfile/libsndfile.SMBuild

34 lines
764 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libsndfile
version=1.0.28
build=1sml
homepage="http://www.mega-nerd.com/libsndfile/"
download="http://www.mega-nerd.com/libsndfile/files/libsndfile-$version.tar.gz"
desc="C library for reading and writing wav files"
requires="alsa-lib libogg libvorbis"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--disable-static
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
4cc9f0e856763bec64104b9b1273943564bdf96443908817097a7de8032363ca91f9adba559ffb50f2570142bf0567cc8472bdf807c5966807734f3b91960855 libsndfile-1.0.28.tar.lz
"