37 lines
894 B
Bash
37 lines
894 B
Bash
# Template file for 'speex'.
|
|
pkgname=speex
|
|
version=1.2.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="fftw-devel libogg-devel speexdsp-devel"
|
|
short_desc="A free codec for free speech"
|
|
homepage="http://www.speex.org"
|
|
license="BSD"
|
|
maintainer="Orphaned <orphan@voidlinux.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
|
|
}
|
|
}
|