void-packages/srcpkgs/libopusenc/template

29 lines
746 B
Bash

# Template file for 'libopusenc'
pkgname=libopusenc
version=0.2.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="opus-devel"
short_desc="Library for encoding .opus files"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://git.xiph.org/?p=libopusenc.git"
distfiles="https://archive.mozilla.org/pub/opus/libopusenc-${version}.tar.gz"
checksum=8298db61a8d3d63e41c1a80705baa8ce9ff3f50452ea7ec1c19a564fe106cbb9
post_install() {
vlicense COPYING
}
libopusenc-devel_package() {
depends="opus-devel libopusenc-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}