void-packages/srcpkgs/spandsp/template

25 lines
726 B
Bash

# Template file for 'spandsp'
pkgname=spandsp
version=0.0.6
revision=1
build_style=gnu-configure
makedepends="tiff-devel"
short_desc="A library of many DSP functions for telephony"
maintainer="JohnZ <johnz@posteo.net>"
license="LGPL-2.1-only, GPL-2.0-only"
homepage="http://www.soft-switch.org/"
distfiles="http://www.soft-switch.org/downloads/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=cc053ac67e8ac4bb992f258fd94f275a7872df959f6a87763965feabfdcc9465
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"
vmove "usr/lib/libspandsp.so.2"
}
}