# Template file for 'liboggz'
pkgname=liboggz
version=1.1.3
revision=1
build_style="gnu-configure"
configure_args="--enable-static=no"
hostmakedepends="doxygen"
makedepends="libogg-devel"
short_desc="Inspect, edit and validate Ogg files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="BSD-3-Clause"
homepage="https://xiph.org/oggz/"
distfiles="http://downloads.xiph.org/releases/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=2466d03b67ef0bcba0e10fb352d1a9ffd9f96911657abce3cbb6ba429c656e2f

post_install() {
	vlicense COPYING
	vdoc AUTHORS
	vdoc README
}

liboggz-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/*.so
		vmove usr/share/doc/${sourcepkg}/html
	}
}
