void-packages/srcpkgs/libopusenc/template

29 lines
747 B
Bash
Raw Normal View History

2018-09-19 04:46:20 +02:00
# Template file for 'libopusenc'
pkgname=libopusenc
version=0.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="opus-devel"
short_desc="Library for encoding .opus files"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="BSD-3-Clause"
homepage="https://git.xiph.org/?p=libopusenc.git"
distfiles="https://archive.mozilla.org/pub/opus/libopusenc-${version}.tar.gz"
checksum=c79e95eeee43a0b965e9b2c59a243763a8f8b0a7e71441df2aa9084f6171c73a
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"
}
}