# Template file for 'rasqal'
pkgname=rasqal
version=0.9.33
revision=2
build_style=gnu-configure
configure_args="--disable-static --enable-release"
hostmakedepends="pkg-config"
makedepends="mpfr-devel raptor-devel"
checkdepends="perl"
short_desc="RDF Query Library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://librdf.org/rasqal"
distfiles="http://librdf.org/dist/source/rasqal-${version}.tar.gz"
checksum=6924c9ac6570bd241a9669f83b467c728a322470bf34f4b2da4f69492ccfd97c

librasqal_package() {
	short_desc+=" - Runtime libraries"
	pkg_install() {
		vmove "usr/lib/*.so.*"
	}
}

rasqal-devel_package() {
	depends="raptor-devel>=2.0.9_3 librasqal>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/bin/rasqal-config
		vmove usr/share/man/man1/rasqal-config.1
		vmove usr/include
		vmove usr/lib
		vmove usr/share/gtk-doc
		vmove usr/share/man/man3
	}
}
