void-packages/srcpkgs/celt/template

26 lines
820 B
Bash

# Template file for 'celt'
pkgname=celt
version=0.11.3
revision=1
build_style=gnu-configure
configure_args="--with-ogg=${XBPS_CROSS_BASE} --enable-float-approx --enable-custom-modes --disable-oggtest"
hostmakedepends="pkg-config"
makedepends="libogg-devel"
short_desc="An audio codec for use in low-delay speech and audio communication"
homepage="http://www.celt-codec.org/"
license="BSD"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://downloads.us.xiph.org/releases/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=7e64815d4a8a009d0280ecd235ebd917da3abdcfd8f7d0812218c085f9480836
celt-devel_package() {
depends="libogg-devel celt>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}