void-packages/srcpkgs/speexdsp/template

33 lines
792 B
Bash

# Template file for 'speexdsp'
pkgname=speexdsp
version=1.2.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
short_desc="Free codec for free speech - DSP"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://www.speex.org"
distfiles="http://downloads.xiph.org/releases/speex/speexdsp-${version}.tar.gz"
checksum=8c777343e4a6399569c72abc38a95b24db56882c83dbdb6c6424a5f4aeb54d3d
case "$XBPS_TARGET_MACHINE" in
aarch64*) configure_args+=" --disable-neon";;
esac
post_install() {
vlicense COPYING
}
speexdsp-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/*.so
vmove usr/share/doc
}
}