void-packages/srcpkgs/speexdsp/template

33 lines
794 B
Bash

# Template file for 'speexdsp'
pkgname=speexdsp
version=1.2.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
short_desc="A 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=682042fc6f9bee6294ec453f470dadc26c6ff29b9c9e9ad2ffc1f4312fd64771
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
}
}