void-packages/srcpkgs/spandsp/template
newbluemoon 48693d2b2f spandsp: use debian mirror
because main site is down
and fix lint error
2021-11-12 23:38:53 -03:00

24 lines
718 B
Bash

# Template file for 'spandsp'
pkgname=spandsp
version=0.0.6
revision=3
wrksrc="${pkgname}-${version}+dfsg"
build_style=gnu-configure
makedepends="tiff-devel"
short_desc="Library of many DSP functions for telephony"
maintainer="JohnZ <me@johnnynator.dev>"
license="LGPL-2.1-only, GPL-2.0-only"
homepage="https://www.soft-switch.org/"
distfiles="${DEBIAN_SITE}/main/s/spandsp/spandsp_${version}+dfsg.orig.tar.xz"
checksum=3dcdc611b8a119f1f26540d05e6279c4c1e5cd576271f6d45df431359fc190f9
spandsp-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/libspandsp.so"
}
}