void-packages/srcpkgs/opusfile/template

30 lines
802 B
Text
Raw Normal View History

2013-01-04 22:20:23 +00:00
# Template file for 'opusfile'
pkgname=opusfile
2014-07-14 08:20:58 +00:00
version=0.6
2014-07-14 09:54:46 +00:00
revision=2
2013-01-04 22:20:23 +00:00
build_style=gnu-configure
2014-02-01 10:45:36 +00:00
hostmakedepends="pkg-config"
2014-07-14 09:54:46 +00:00
makedepends="libogg-devel opus-devel libressl-devel"
2013-01-04 22:20:23 +00:00
short_desc="Library for opening, seeking, and decoding .opus files"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.opus-codec.org/"
license="BSD"
distfiles="http://downloads.xiph.org/releases/opus/${pkgname}-${version}.tar.gz"
2014-07-14 08:20:58 +00:00
checksum=2428717b356e139f18ed2fdb5ad990b5654a238907a0058200b39c46a7d03ea6
2013-01-04 22:20:23 +00:00
post_install() {
rm -rf ${DESTDIR}/usr/share
2014-07-14 08:20:58 +00:00
vlicense COPYING
2013-01-04 22:20:23 +00:00
}
opusfile-devel_package() {
2014-07-14 08:20:58 +00:00
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
2014-02-01 10:45:36 +00:00
vmove "usr/lib/*.so"
}
}