# Template build file for 'orc'.
pkgname=orc
version=0.4.18
revision=1
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
long_desc="
 Orc is a library and set of tools for compiling and executing very simple
 programs that operate on arrays of data.  The “language” is a generic assembly
 language that represents many of the features available in SIMD architectures,
 including saturated addition and subtraction, and many arithmetic operations."

pre_configure() {
	libtoolize -f
}

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

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