39 lines
902 B
Bash
39 lines
902 B
Bash
# Template file for 'speex'
|
|
pkgname=speex
|
|
version=1.2.1
|
|
revision=1
|
|
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=4b44d4f2b38a370a2d98a78329fefc56a0cf93d1c1be70029217baae6628feea
|
|
|
|
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
|
|
}
|
|
}
|