void-packages/srcpkgs/speex/template
2021-05-17 00:32:25 -03:00

37 lines
901 B
Bash

# Template file for 'speex'
pkgname=speex
version=1.2.0
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="fftw-devel libogg-devel speexdsp-devel"
short_desc="Free codec for free speech"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.speex.org"
distfiles="http://downloads.xiph.org/releases/speex/speex-$version.tar.gz"
checksum=eaae8af0ac742dc7d542c9439ac72f1f385ce838392dc849cae4536af9210094
post_install() {
vlicense COPYING
}
libspeex_package() {
short_desc+=" - shared libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
vlicense COPYING
}
}
speex-devel_package() {
depends="speexdsp-devel libspeex-${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
vmove usr/share/aclocal
}
}