smlinux/base/libsamplerate/libsamplerate.SMBuild
PktSurf 761d688cd9 Converted most source tarballs in base to lzip format ending with .tar.lz, updated SHA512 sums in affected build files
Removed --sysconfdir option in a lot of build files in base
Added preservestaticlibs option in base/argp-standalone
Fixed CFLAGS variable in base/{file,grep}
Fixed build options in base/gstreamer
Fixed LDFLAGS variable in base/less
Removed CFLAGS variable in base/libarchive
Multiple build option fixes in base/nasm
2022-10-04 19:59:37 +05:30

32 lines
768 B
Text
Executable file

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"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
./configure \
--prefix="" \
--disable-static \
$builddist
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
74f1d8fc8ba378e75af33834aa174a4bb7a7b65e0adf76b148397a9f32b9b27d9127ceb77e78a8869071543bf03a5aa79a290eb1b9542c9fb1a34bfdd95b27e2 libsamplerate-0.1.9.tar.lz
"