void-packages/srcpkgs/speex/template

42 lines
1.1 KiB
Plaintext
Raw Normal View History

2010-11-19 23:09:26 +01:00
# Template file for 'speex'.
pkgname=speex
version=1.2rc1
2013-05-06 17:00:23 +02:00
revision=7
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="libogg-devel"
2010-11-19 23:09:26 +01:00
short_desc="A free codec for free speech"
2013-03-29 13:26:24 +01:00
homepage="http://www.speex.org"
license="BSD"
2010-11-19 23:09:26 +01:00
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://downloads.xiph.org/releases/speex/speex-$version.tar.gz"
2010-11-19 23:09:26 +01:00
checksum=342f30dc57bd4a6dad41398365baaa690429660b10d866b7d508e8f1179cb7a6
long_desc="
Speex is an audio codec especially designed for compressing voice at low
bit-rates for applications such as voice over IP (VoIP). In some senses, it
is meant to be complementary to the Vorbis codec which places a greater
emphasis on high-quality music reproduction."
2010-11-19 23:09:26 +01:00
2013-05-06 17:00:23 +02:00
if [ "$CROSS_BUILD" ]; then
configure_args+=" --with-ogg=$XBPS_CROSS_BASE"
fi
libspeex_package() {
2013-05-06 17:00:23 +02:00
short_desc+=" - shared libraries"
pkg_install() {
vmove "usr/lib/*.so*"
}
}
speex-devel_package() {
depends="libspeex-${version}_${revision}"
2013-05-06 17:00:23 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/doc
vmove usr/share/aclocal
}
}