2010-11-19 22:09:26 +00:00
|
|
|
# Template file for 'speex'.
|
|
|
|
pkgname=speex
|
|
|
|
version=1.2rc1
|
2014-02-17 08:23:36 +00:00
|
|
|
revision=8
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2014-02-17 08:23:36 +00:00
|
|
|
configure_args="--disable-static --with-ogg=${XBPS_CROSS_BASE}/usr"
|
2013-04-13 20:47:11 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libogg-devel"
|
2010-11-19 22:09:26 +00:00
|
|
|
short_desc="A free codec for free speech"
|
2013-03-29 12:26:24 +00:00
|
|
|
homepage="http://www.speex.org"
|
|
|
|
license="BSD"
|
2010-11-19 22:09:26 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-10-10 12:51:46 +00:00
|
|
|
distfiles="http://downloads.xiph.org/releases/speex/speex-$version.tar.gz"
|
2010-11-19 22:09:26 +00:00
|
|
|
checksum=342f30dc57bd4a6dad41398365baaa690429660b10d866b7d508e8f1179cb7a6
|
2013-05-06 15:00:23 +00:00
|
|
|
|
2013-04-13 20:47:11 +00:00
|
|
|
libspeex_package() {
|
2013-05-06 15:00:23 +00:00
|
|
|
short_desc+=" - shared libraries"
|
2013-04-13 20:47:11 +00:00
|
|
|
pkg_install() {
|
2014-02-17 08:23:36 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-13 20:47:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
speex-devel_package() {
|
|
|
|
depends="libspeex-${version}_${revision}"
|
2013-05-06 15:00:23 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 20:47:11 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-17 08:23:36 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 20:47:11 +00:00
|
|
|
vmove usr/share/doc
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
}
|
|
|
|
}
|