void-packages/srcpkgs/celt/template
2018-11-27 18:30:17 -02:00

29 lines
870 B
Bash

# Template file for 'celt'
pkgname=celt
version=0.11.3
revision=3
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"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD-2-Clause"
homepage="http://www.celt-codec.org/"
distfiles="http://downloads.us.xiph.org/releases/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=7e64815d4a8a009d0280ecd235ebd917da3abdcfd8f7d0812218c085f9480836
post_install() {
vlicense COPYING
}
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"
}
}