void-packages/srcpkgs/raptor/template

33 lines
880 B
Plaintext

# Template file for 'raptor'
pkgname=raptor
version=2.0.15
revision=1
wrksrc="raptor2-${version}"
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="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://librdf.org/raptor"
distfiles="http://librdf.org/dist/source/raptor2-${version}.tar.gz"
checksum=ada7f0ba54787b33485d090d3d2680533520cd4426d2f7fb4782dd4a6a1480ed
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
}
}