2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="libsamplerate"
|
2022-04-14 11:56:57 +00:00
|
|
|
PKG_VERSION="0.1.9"
|
|
|
|
PKG_SHA256="0a7eb168e2f21353fb6d84da152e4512126f7dc48ccb0be80578c565413444c1"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
PKG_SITE="http://www.mega-nerd.com/SRC/"
|
2022-04-14 11:56:57 +00:00
|
|
|
PKG_URL="http://www.mega-nerd.com/SRC/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
|
|
|
PKG_DEPENDS_TARGET="toolchain"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LONGDESC="A Sample Rate Converter for audio."
|
|
|
|
|
|
|
|
# package specific configure options
|
2022-04-14 11:56:57 +00:00
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
|
|
|
|
--enable-static \
|
2022-02-05 14:23:32 +00:00
|
|
|
--datadir=/usr/share \
|
|
|
|
--disable-fftw \
|
2022-04-14 11:56:57 +00:00
|
|
|
--disable-sndfile"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
post_makeinstall_target() {
|
2022-04-14 11:56:57 +00:00
|
|
|
rm -rf ${INSTALL}/usr/bin
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|