void-packages/srcpkgs/speex/template
2014-02-17 09:23:36 +01:00

33 lines
844 B
Text

# Template file for 'speex'.
pkgname=speex
version=1.2rc1
revision=8
build_style=gnu-configure
configure_args="--disable-static --with-ogg=${XBPS_CROSS_BASE}/usr"
hostmakedepends="pkg-config"
makedepends="libogg-devel"
short_desc="A free codec for free speech"
homepage="http://www.speex.org"
license="BSD"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://downloads.xiph.org/releases/speex/speex-$version.tar.gz"
checksum=342f30dc57bd4a6dad41398365baaa690429660b10d866b7d508e8f1179cb7a6
libspeex_package() {
short_desc+=" - shared libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
speex-devel_package() {
depends="libspeex-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/doc
vmove usr/share/aclocal
}
}