# Template build file for 'orc'.
pkgname=orc
version=0.4.22
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake pkg-config libtool"
short_desc="The Oild Runtime Compiler"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.entropywave.com/orc/"
license="Simplified BSD, New BSD license"
distfiles="http://gstreamer.freedesktop.org/src/orc/orc-${version}.tar.xz"
checksum=04ca077f4b25f02cc13090effa55343bbfde986c8d663df430347992aa5cf935

pre_configure() {
	NOCONFIGURE=1 ./autogen.sh
}
post_install() {
	vlicense COPYING
}

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