mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-14 07:24:26 +02:00
41 lines
1.1 KiB
Text
41 lines
1.1 KiB
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=spandsp3
|
|
pkgver=0_git20201102
|
|
pkgrel=3
|
|
pkgdesc="SpanDSP is a library of DSP functions for telephony"
|
|
url="https://www.soft-switch.org/installing-spandsp.html"
|
|
arch="all"
|
|
license="LGPL-2.1-only"
|
|
makedepends="autoconf automake libtool m4
|
|
util-linux tiff-dev jpeg-dev libxslt-dev"
|
|
subpackages="$pkgname-dev"
|
|
_commit=6ec23e5a7e411a22d59e5678d12c4d2942c4a4b6
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/freeswitch/spandsp/archive/$_commit.tar.gz"
|
|
builddir="$srcdir"/spandsp-$_commit
|
|
|
|
prepare() {
|
|
default_prepare
|
|
sh bootstrap.sh
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make -j1 DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="f8d3dd97158a235325c7ef78a7e0c8c56ee726ba0dfc68fe96a1f17603a491fed89088e18a6c43c37a8ecb062d80e4bb9d3fe308994e66870055ed81959ff77b spandsp3-0_git20201102.tar.gz"
|