void-packages/srcpkgs/opusfile/template

30 lines
802 B
Plaintext
Raw Normal View History

2013-01-04 23:20:23 +01:00
# Template file for 'opusfile'
pkgname=opusfile
2014-07-14 10:20:58 +02:00
version=0.6
2014-07-14 11:54:46 +02:00
revision=2
2013-01-04 23:20:23 +01:00
build_style=gnu-configure
2014-02-01 11:45:36 +01:00
hostmakedepends="pkg-config"
2014-07-14 11:54:46 +02:00
makedepends="libogg-devel opus-devel libressl-devel"
2013-01-04 23:20:23 +01: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 10:20:58 +02:00
checksum=2428717b356e139f18ed2fdb5ad990b5654a238907a0058200b39c46a7d03ea6
2013-01-04 23:20:23 +01:00
post_install() {
rm -rf ${DESTDIR}/usr/share
2014-07-14 10:20:58 +02:00
vlicense COPYING
2013-01-04 23:20:23 +01:00
}
opusfile-devel_package() {
2014-07-14 10:20:58 +02: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 11:45:36 +01:00
vmove "usr/lib/*.so"
}
}