mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 10:46:59 +02:00
37 lines
939 B
Text
37 lines
939 B
Text
# Contributor: Carlo Landmeter
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=spandsp
|
|
pkgver=0.0.6
|
|
_ver=${pkgver/_/}
|
|
pkgrel=5
|
|
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="tiff-dev"
|
|
subpackages="$pkgname-dev"
|
|
source="https://deb.debian.org/debian/pool/main/s/spandsp/spandsp_$pkgver+dfsg.orig.tar.xz"
|
|
builddir="$srcdir"/$pkgname-$pkgver+dfsg
|
|
options="!check"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
update_config_sub
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make -j1 DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="f64765f849b38a20f1793b4792361e51b9c37d58701f72c46652f1512a3d15616ec8b5ad5833d68b6b7a6290bb3ae948ec22248cc3ff767cb8875a02ae0be8ef spandsp_0.0.6+dfsg.orig.tar.xz"
|