# Template build file for 'orc'.
pkgname=orc
version=0.4.18
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="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://code.entropywave.com/download/orc/orc-${version}.tar.gz"
checksum=34d3c8a7259f42bed4dcfbc106c5e3d0cc8e17eeaa73128d1c5eaf92883a6a24

pre_configure() {
	libtoolize -f
}

post_install() {
	vinstall COPYING 644 usr/share/licenses/orc
}

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
	}
}
