smlinux/base/libsamplerate/libsamplerate.SMBuild

34 lines
816 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libsamplerate
version=0.1.9
build=1sml
homepage="https://github.com/libsndfile/libsamplerate"
download="https://github.com/libsndfile/libsamplerate/archive/refs/tags/$version.tar.gz"
desc="library for performing sample rate conversion of audio data"
requires="alsa-lib libsndfile libogg libvorbis flac"
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="
74f1d8fc8ba378e75af33834aa174a4bb7a7b65e0adf76b148397a9f32b9b27d9127ceb77e78a8869071543bf03a5aa79a290eb1b9542c9fb1a34bfdd95b27e2 libsamplerate-0.1.9.tar.lz
"