void-packages/srcpkgs/opusfile/template
2016-10-06 03:48:17 -04:00

32 lines
858 B
Bash

# Template file for 'opusfile'
pkgname=opusfile
version=0.8
revision=3
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libogg-devel opus-devel libressl-devel"
short_desc="Library for opening, seeking, and decoding .opus files"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.opus-codec.org/"
license="BSD"
distfiles="http://downloads.xiph.org/releases/opus/${pkgname}-${version}.tar.gz"
checksum=2c231ed3cfaa1b3173f52d740e5bbd77d51b9dfecb87014b404917fba4b855a4
pre_configure() {
autoreconf -fi
}
post_install() {
rm -rf ${DESTDIR}/usr/share
vlicense COPYING
}
opusfile-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}