void-packages/srcpkgs/rasqal/template
2021-08-28 16:55:30 +07:00

35 lines
966 B
Bash

# Template file for 'rasqal'
pkgname=rasqal
version=0.9.33
revision=3
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="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later, GPL-2.0-or-later, Apache-2.0"
homepage="https://librdf.org/rasqal"
distfiles="https://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
}
}