void-packages/srcpkgs/speexdsp/template

33 lines
795 B
Bash

# Template file for 'speexdsp'
pkgname=speexdsp
version=1.2rc3
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
short_desc="A free codec for free speech - DSP"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://www.speex.org"
distfiles="http://downloads.xiph.org/releases/speex/speexdsp-${version}.tar.gz"
checksum=4ae688600039f5d224bdf2e222d2fbde65608447e4c2f681585e4dca6df692f1
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
}
}