void-packages/srcpkgs/raptor/template

32 lines
890 B
Bash

# Template file for 'raptor'
pkgname=raptor
version=2.0.16
revision=1
build_style=gnu-configure
configure_args="--disable-static --with-yajl=no"
hostmakedepends="pkg-config"
makedepends="libcurl-devel libxml2-devel libxslt-devel"
short_desc="Raptor RDF Syntax Library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later, GPL-2.0-or-later, Apache-2.0"
homepage="https://librdf.org/raptor"
distfiles="https://librdf.org/dist/source/raptor2-${version}.tar.gz"
checksum=089db78d7ac982354bdbf39d973baf09581e6904ac4c92a98c5caadb3de44680
libraptor_package() {
short_desc+=" - Runtime libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
raptor-devel_package() {
depends="${makedepends} libraptor>=${version}_${revision}"
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove usr/lib
vmove usr/share/gtk-doc
vmove usr/share/man/man3
}
}